Skip to content

RocksDB 5.13.1

Compare
Choose a tag to compare
@gfosco gfosco released this 14 May 19:16
· 5970 commits to main since this release

5.13.1 (4/30/2018)

New Features

  • Add Env::LowerThreadPoolCPUPriority(Priority) method, which lowers the CPU priority of background (esp. compaction) threads to minimize interference with foreground tasks.
  • Eliminate use of temporary directories in BackupEngine to improve reliability on distributed file systems.

5.13.0 (3/20/2018)

Public API Change

  • RocksDBOptionsParser::Parse()'s ignore_unknown_options argument will only be effective if the option file shows it is generated using a higher version of RocksDB than the current version.
  • Remove CompactionEventListener.

New Features

  • SstFileManager now can cancel compactions if they will result in max space errors. SstFileManager users can also use SetCompactionBufferSize to specify how much space must be leftover during a compaction for auxiliary file functions such as logging and flushing.
  • Avoid unnecessarily flushing in CompactRange() when the range specified by the user does not overlap unflushed memtables.
  • If ColumnFamilyOptions::max_subcompactions is set greater than one, we now parallelize large manual level-based compactions.
  • Add "rocksdb.live-sst-files-size" DB property to return total bytes of all SST files belong to the latest LSM tree.

Bug Fixes

  • Fix a leak in prepared_section_completed_ where the zeroed entries would not removed from the map.
  • Fix WAL corruption caused by race condition between user write thread and backup/checkpoint thread.
  • Fsync after writing global seq number to the ingestion file in ExternalSstFileIngestionJob.
  • Fix memory leak when pin_l0_filter_and_index_blocks_in_cache is used with partitioned filters

Java API Changes

  • Add BlockBasedTableConfig.setBlockCache to allow sharing a block cache across DB instances.