-
Notifications
You must be signed in to change notification settings - Fork 223
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
kvdb-rocksdb: set format_version to 5 #395
Conversation
Given the outcome of our experiments with version 5 it seems likely that this also is effective only for new tables, do you agree? |
yeah, it's explicitly mentioned in version 3 and 4
|
Co-authored-by: David <dvdplm@gmail.com>
Why is it needed? Sorry, missed this thing for a while 😔 |
version 5 introduces improvements to bloom filter https://github.com/facebook/rocksdb/wiki/RocksDB-Bloom-Filter#full-filters-new-format |
the default version in |
I hope this get tested on the database created without this update |
I just tested this with openethereum, it worked. |
The
block_restart_interval
is set in accordance with https://rocksdb.org/blog/2019/03/08/format-version-4.html.Context: https://github.com/facebook/rocksdb/blob/a1523efcdf2f0e8133b9a9f6e170a0dad49f928f/include/rocksdb/table.h#L246-L271
This change is backwards compatible with rocksdb versions >= 6.6.