feat: add proper RDB serialization support for SortedInt type#3367
feat: add proper RDB serialization support for SortedInt type#3367Zakir032002 wants to merge 2 commits intoapache:unstablefrom
Conversation
- Implement custom RDB type 22 for SortedInt - Add SaveSortedintObject() and LoadSortedintObject() - Preserve SortedInt type in DUMP/RESTORE cycle - Update RedisObjValue variant to support vector<uint64_t> - All SortedInt commands work after RESTORE This provides full type preservation as an alternative to the coercion approach in PR apache#3366. Closes apache#3319
|
Hi, thank you for your contribution. Please read our Guidelines for AI-assisted Contributions before we proceed with this PR : ) |
|
Thanks for sharing the guidelines @PragmaTwice . I confirm that I used AI tools as an assistant for review, and improving the clarity of the PR description. All design decisions, code implementation, testing, and validation were done by me, and I fully understand and can justify the changes in this PR. |
|
I’ve previously worked on a small Raft-based KV store with RocksDB-backed persistence (snapshots and log compaction), which gives me some context around serialization and recovery, but I’m very much here to learn Kvrocks’ design choices and would appreciate guidance on not only this approach or any other future contributions aligns with project expectations. |
|
Please don't open two same-purpose PRs for one task. You should open an issue and discuss with community members instead. |
📝 FULL PR DESCRIPTION (Complete Version with Tests)