Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion:Why does the tombstone delete key still exists in the SST, but the insert key no longer exist in the SST? #13315

Open
jianwei1216 opened this issue Jan 18, 2025 · 1 comment

Comments

@jianwei1216
Copy link

jianwei1216 commented Jan 18, 2025

问题:rocksdb 通过 sst_dump scan 所有 SST 文件,发现有的 key 只有 tombstone delete key ,但没有历时 insert key,请问 tombstone delete key 在 compaction 时,为什么没有和 insert key 一起清理掉?

Question: Rocksdb scanned all SST files through sst_dump and found that some keys only had a tombstone delete key, but not an insert key. May I ask why the tombstone delete key was not cleared together with the insert key during compaction?

rocksdb version: v7.9.2

Can you answer my questions and clarify my doubts?
Because my understanding is that the tombstone delete key should disappear at the same time as the insert key

sst_dump --file=<path_to_db> --command=scan

@jianwei1216
Copy link
Author

@cbi42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant