Redis: Stream Replication and Memory Safety Fixes

Two critical fixes merged to Redis addressing stream consumer replication inconsistencies and a potential double-free memory issue in database loading operations.

Duration: PT1M53S

Episode overview

This episode is a short developer briefing from Redis.

It explains recent repository work in plain language.

  • Show: Redis
  • Published: 2026-04-08T00:00:00Z
  • Audio duration: PT1M53S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, I'm your host with the Redis developer briefing for Tuesday, April 8th, 2026.

Two important fixes have been merged to the Redis codebase today. Sergei Georgiev merged a fix for missing consumer propagation on empty XREADGROUP operations. This addresses a replication inconsistency where new consumers created by XREADGROUP weren't being properly propagated to replicas when no messages were…

Charsyam merged a fix for a trivial but potentially serious double-free issue in rdbLoadObject. While rare, this memory safety bug could occur during database loading when sdstrynewlen and hashtableAdd operations succeed but lpSafeToAdd fails due to size constraints. The fix prevents potential crashes or memory…

Both fixes include comprehensive test coverage. The stream replication fix adds replication tests covering both NOACK scenarios and empty message cases. The RDB fix, while addressing an edge case that requires exceeding one gigabyte safety limits, strengthens Redis's memory safety guarantees.

What's next: These fixes improve Redis reliability in production environments, particularly for applications using stream replication and large dataset operations.

That's your Redis…

Nearby episodes from Redis

  1. Test Stability and Hash Command Security Fixes
  2. Weekly Recap - Streams Enhancements & Infrastructure Updates
  3. Stream Dictionary Type Optimization
  4. Release Automation and Security Hardening
  5. Streams Enhancement and Module Safety Updates
  6. Weekly Recap - Bug Fixes & Code Quality
  7. Memory Leak Detective Work
  8. Spring Cleaning Edition - Memory Leaks and Performance Optimizations