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

chore: bump Rocksdb to v9.4.0 #2408

Merged
merged 4 commits into from
Jul 14, 2024
Merged

Conversation

aleksraiden
Copy link
Contributor

Bump RocksDB to v9.4.0 release, full changelog here - https://github.com/facebook/rocksdb/releases/tag/v9.4.0

Key features:

  • Added a CompactForTieringCollectorFactory to auto trigger compaction for tiering use case
  • Add rocksdb_writebatch_update_timestamps, rocksdb_writebatch_wi_update_timestamps in C API
  • Add rocksdb_writebatch_create_with_params, rocksdb_writebatch_wi_create_with_params to create WB and WBWI with all options in C API
  • Deprecated names LogFile and VectorLogPtr in favor of new names WalFile and VectorWalPtr
  • Introduce a new universal compaction option CompactionOptionsUniversal::max_read_amp which allows user to define the limit on the number of sorted runs separately from the trigger for compaction (level0_file_num_compaction_trigger)
  • Inactive WALs are immediately closed upon being fully sync-ed rather than in a background thread. This is to ensure LinkFile() is not called on files still open for write, which might not be supported by some FileSystem implementations. This should not be a performance issue, but an opt-out is available with with new DB option background_close_inactive_wals
  • Fix a rare case in which a hard-linked WAL in a Checkpoint is not fully synced (so might lose data on power loss)
  • Fixed an issue where PutEntity records were handled incorrectly while rebuilding transactions during recovery
  • Various read operations could ignore various ReadOptions that might be relevant. Fixed many such cases, which can result in behavior change but a better reflection of specified options.
  • Improved write throughput to memtable when there's a large number of concurrent writers and allow_concurrent_memtable_write=true

Copy link

@PragmaTwice PragmaTwice merged commit 504322c into unstable Jul 14, 2024
53 of 54 checks passed
@PragmaTwice PragmaTwice deleted the aleksraiden-rocksdb-v9.4.0 branch July 14, 2024 05:01
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

Successfully merging this pull request may close these issues.

2 participants