Skip to content

Ensure client slot migration pointer is cleared during reset#3554

Merged
enjoy-binbin merged 1 commit into
valkey-io:unstablefrom
murphyjacob4:null-asm-job
Apr 27, 2026
Merged

Ensure client slot migration pointer is cleared during reset#3554
enjoy-binbin merged 1 commit into
valkey-io:unstablefrom
murphyjacob4:null-asm-job

Conversation

@murphyjacob4

Copy link
Copy Markdown
Contributor

If not cleared, the job may no longer be valid by the time the client goes to cleanup. This dangling reference could cause a crash if you set slot-migration-log-max-len to 0 and are very unlucky.

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
@codecov

codecov Bot commented Apr 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.53%. Comparing base (2585f60) to head (93dd076).
⚠️ Report is 43 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #3554      +/-   ##
============================================
- Coverage     76.57%   76.53%   -0.04%     
============================================
  Files           157      159       +2     
  Lines         79026    80045    +1019     
============================================
+ Hits          60515    61265     +750     
- Misses        18511    18780     +269     
Files with missing lines Coverage Δ
src/cluster_migrateslots.c 92.27% <100.00%> (+0.16%) ⬆️
src/networking.c 92.06% <ø> (-0.12%) ⬇️

... and 40 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@enjoy-binbin enjoy-binbin moved this to To be backported in Valkey 9.0 Apr 24, 2026
@enjoy-binbin enjoy-binbin moved this to To be backported in Valkey 9.1 Apr 24, 2026
@enjoy-binbin enjoy-binbin merged commit 28ecbd2 into valkey-io:unstable Apr 27, 2026
58 checks passed
sarthakaggarwal97 pushed a commit to sarthakaggarwal97/valkey that referenced this pull request Apr 27, 2026
…io#3554)

If not cleared, the job may no longer be valid by the time the client
goes to cleanup. This dangling reference could cause a crash if you set
slot-migration-log-max-len to 0 and are very unlucky.

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
sarthakaggarwal97 added a commit to sarthakaggarwal97/valkey that referenced this pull request Apr 27, 2026
madolson pushed a commit that referenced this pull request Apr 27, 2026
If not cleared, the job may no longer be valid by the time the client
goes to cleanup. This dangling reference could cause a crash if you set
slot-migration-log-max-len to 0 and are very unlucky.

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
sarthakaggarwal97 pushed a commit to sarthakaggarwal97/valkey that referenced this pull request May 7, 2026
…io#3554)

If not cleared, the job may no longer be valid by the time the client
goes to cleanup. This dangling reference could cause a crash if you set
slot-migration-log-max-len to 0 and are very unlucky.

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
@sarthakaggarwal97 sarthakaggarwal97 moved this from To be backported to Done in Valkey 9.1 May 16, 2026
valkeyrie-ops Bot pushed a commit that referenced this pull request May 19, 2026
If not cleared, the job may no longer be valid by the time the client
goes to cleanup. This dangling reference could cause a crash if you set
slot-migration-log-max-len to 0 and are very unlucky.

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
valkeyrie-ops Bot pushed a commit that referenced this pull request Jun 11, 2026
If not cleared, the job may no longer be valid by the time the client
goes to cleanup. This dangling reference could cause a crash if you set
slot-migration-log-max-len to 0 and are very unlucky.

Signed-off-by: Jacob Murphy <jkmurphy@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To be backported
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants