-
Notifications
You must be signed in to change notification settings - Fork 222
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
Upgrade rocksdb to 0.22 #853
Conversation
@bkchr Could you help to take a look at this? |
@@ -905,7 +905,7 @@ rocksdb.db.get.micros P50 : 2.000000 P95 : 3.000000 P99 : 4.000000 P100 : 5.0000 | |||
assert!(settings.contains(" block_size: 323232")); | |||
|
|||
// LRU cache (default column) | |||
assert!(settings.contains("block_cache_options:\n capacity : 8388608")); | |||
assert!(settings.contains("block_cache_options:\n capacity : 115343360")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked why it changed here, but this should be OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cache size was probably changed? Can you maybe check that in the changelogs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change may relate to https://github.com/facebook/rocksdb/blob/main/HISTORY.md#public-api-changes-10
I can dig more if you think this is important
Although Parity has recommended
paritydb
for a long time,polkadot-sdk
still has not started the deprecation process forrocksdb
.I think we should give some love to the rocksdb. This PR upgrade to its latest version would help to reduce a few outdated dependencies. for example, bitflags 1.3.0