fix: Handle trailing bytes in dump keys#4630
fix: Handle trailing bytes in dump keys#4630SharanRP wants to merge 1 commit intosourcenetwork:developfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details🔇 Additional comments (3)
📝 WalkthroughWalkthroughReplaced Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Assessment against linked issues
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can customize the tone of the review comments and chat replies.Configure the |
Relevant issue(s)
Resolves #4573
Description
Fixes the
/debug/dumpendpoint failure when chunk storage is enabled.cid.Castwithcid.CidFromBytesin HumanReadableKey to tolerate trailing chunk metadata bytes in raw keys.case encStoreKeyshadowedsystemStoreKey.Tasks
How has this been tested?
Verified with a reproduction script using
cid.CidFromByteson keys with trailing metadata. Ran internal datastore tests to ensure no regressions.Tested on: