Skip to content

RocksDB 4.4.1

Compare
Choose a tag to compare
@yhchiang yhchiang released this 12 Apr 23:15
· 8557 commits to main since this release

New Features

  • Dynamic slow-down on writes. When slow down on writes is triggered, RocksDB will dynamically optimize the slow-down per write based on the estimated pending compaction bytes. If the number of pending compaction bytes keeps increasing, then RocksDB will slow down on writes more to make compaction able to catch up to avoid write stall.
  • Introduce CompactionJobInfo::compaction_reason, this field include the reason to trigger the compaction.
  • Added a new parameter --path to ldb tool. --path accepts the name of either MANIFEST, SST or a WAL file. Either --db or --path can be used when calling ldb.

Public API Changes

  • Deprecate options.soft_rate_limit and add options.soft_pending_compaction_bytes_limit.
  • If options.max_write_buffer_number > 3, writes will be slowed down when writing to the last write buffer to delay a full stop.
  • Increase default options.delayed_write_rate to 2MB/s.
  • Change names in CompactionPri and add a new one.