Skip to content

Conversation

pcholakov
Copy link
Contributor

This has been the default in RocksDB for over a year now:

facebook/rocksdb@bfd00bb

@pcholakov pcholakov marked this pull request as ready for review April 12, 2025 08:06
@pcholakov pcholakov requested a review from AhmedSoliman April 12, 2025 08:06
Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me. Is there anything in particular that would we'd benefit by moving to v6?

@pcholakov
Copy link
Contributor Author

There's a stricter checksum verification in v6 compared to v5 - as I understand it, certain errors like block reordering might previously have gone undetected, and will be more likely to get caught by v6, as well as extends the checksum verification to the SST footer. The latter is something I observed when building snapshots - I found that there were some areas in the footer that I could intentionally corrupt, and it would go undetected.

But no major functional/performance changes or other direct benefits that I can tell.

https://github.com/facebook/rocksdb/blob/29c6610617ddc1b486f12b99c16e7c9851e80430/include/rocksdb/table.h#L560-L570

@pcholakov pcholakov merged commit fed9f84 into restatedev:main Apr 15, 2025
25 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants