Repository navigation
Fix RDB expiry write length and leak when loading zipmap - #3422
Merged
Merged
Conversation
Signed-off-by: charsyam <[email protected]>
Nikhil-Manglore
approved these changes
Mar 31, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## unstable #3422 +/- ##
============================================
- Coverage 76.51% 76.50% -0.01%
============================================
Files 157 157
Lines 79025 79027 +2
============================================
- Hits 60463 60461 -2
- Misses 18562 18566 +4
🚀 New features to boost your workflow:
|
sarthakaggarwal97
approved these changes
Mar 31, 2026
enjoy-binbin
approved these changes
Apr 1, 2026
Contributor
|
Retried the test failure but it failed again. Hence, performed a merge with unstable. if the tests passes now, will merge this. |
Contributor
|
one pending test failure on this PR Is it somehow related ? Could you take a look @charsyam ? |
Contributor
Author
|
@hpatro I will check soon. but I think it is not related it. |
Contributor
This one is flaky on unstable. I've seen it failing. |
Contributor
|
@hpatro I think it is a kind of timing issue. in my local, and other machine , the tests work well. |
sarthakaggarwal97
pushed a commit
to sarthakaggarwal97/valkey
that referenced
this pull request
Apr 16, 2026
) Fix two things: 1. Incorrect RDB object size reported when writing hash fields with expiration, because of wrong position of parentheses. Affects the serialized size reported in DEBUG OBJECT. 2. Memory leak when loading a zipmap (only used in really old RDB versions). Signed-off-by: charsyam <[email protected]> Co-authored-by: Harkrishn Patro <[email protected]>
madolson
pushed a commit
that referenced
this pull request
Apr 27, 2026
Fix two things: 1. Incorrect RDB object size reported when writing hash fields with expiration, because of wrong position of parentheses. Affects the serialized size reported in DEBUG OBJECT. 2. Memory leak when loading a zipmap (only used in really old RDB versions). Signed-off-by: charsyam <[email protected]> Co-authored-by: Harkrishn Patro <[email protected]>
roshkhatri
pushed a commit
to roshkhatri/valkey
that referenced
this pull request
May 26, 2026
) Fix two things: 1. Incorrect RDB object size reported when writing hash fields with expiration, because of wrong position of parentheses. Affects the serialized size reported in DEBUG OBJECT. 2. Memory leak when loading a zipmap (only used in really old RDB versions). Signed-off-by: charsyam <[email protected]> Co-authored-by: Harkrishn Patro <[email protected]> Signed-off-by: Roshan Khatri <[email protected]>
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix two things:
Incorrect RDB object size reported when writing hash fields with expiration, because of wrong position of parentheses. Affects the serialized size reported in DEBUG OBJECT.
Memory leak when loading a zipmap (only used in really old RDB versions).