Repository navigation
meta/redis: preserve full sustained inode IDs - #7935
Open
jiefenghuang wants to merge 1 commit into
Open
jiefenghuang wants to merge 1 commit into
jiefenghuang wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7935 +/- ##
==========================================
+ Coverage 42.86% 52.77% +9.91%
==========================================
Files 196 148 -48
Lines 64965 53572 -11393
==========================================
+ Hits 27845 28272 +427
+ Misses 33913 22303 -11610
+ Partials 3207 2997 -210 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
zxh326
reviewed
Nov 27, 2026
| inode, err := parseSustainedInode(key, sinode) | ||
| if err != nil { | ||
| logger.Warnf("%s", err) | ||
| fail = true |
Member
There was a problem hiding this comment.
这个 解析失败的 session 永远没有机会清理?解析失败直接 rem 掉?
This branch has not been deployed
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.
Problem
Redis sustained inode IDs pass through Go's
int, which can truncate them on 32-bit clients.Change
Use full
uint64IDs throughout and report malformed members. GC stops before deletion if a retained inode cannot be identified. Existing valid members keep their encoding.Validation
The regression fails before the fix and passes after it. Core metadata tests,
TestRedisCluster, and thelinux/386metadata build passed.