10.1.3 (04/09/2025)
Bug Fixes
- Fix a bug where resurrected full_history_ts_low from a previous session that enables UDT is used by this session that disables UDT.
10.1.2 (04/07/2025)
Bug Fixes
- Fix a bug where tail size of remote compaction output is not persisted in primary db's manifest
10.1.0 (03/24/2025)
New Features
- Added a new
DBOptions.calculate_sst_write_lifetime_hint_setsetting that allows to customize which compaction styles SST write lifetime hint calculation is allowed on. Today RocksDB supports only two modeskCompactionStyleLevelandkCompactionStyleUniversal. - Add a new field
num_l0_filesinCompactionJobInfoabout the number of L0 files in the CF right before and after the compaction - Added per-key-placement feature in Remote Compaction
- Implemented API DB::GetPropertiesOfTablesByLevel that retrieves table properties for files in each LSM tree level
Public API Changes
GetAllKeyVersions()now interprets empty slices literally, as valid keys, and uses newOptSlicetype default value for extreme upper and lower range limits.DeleteFilesInRanges()now takesRangeOptwhich is based onOptSlice. The overload takingRangePtris deprecated.- Add an unordered map of name/value pairs, ReadOptions::property_bag, to pass opaque options through to an external table when creating an Iterator.
- Introduced CompactionServiceJobStatus::kAborted to allow handling aborted scenario in Schedule(), Wait() or OnInstallation() APIs in Remote Compactions.
- format_version < 2 in BlockBasedTableOptions is no longer supported for writing new files. Support for reading such files is deprecated and might be removed in the future.
CompressedSecondaryCacheOptions::compress_format_version == 1is also deprecated.
Behavior Changes
ldbnow returns an error if the specified--compression_typeis not supported in the build.- MultiGet with snapshot and ReadOptions::read_tier = kPersistedTier will now read a consistent view across CFs (instead of potentially reading some CF before and some CF after a flush).
- CreateColumnFamily() is no longer allowed on a read-only DB (OpenForReadOnly())
Bug Fixes
- Fixed stats for Tiered Storage with preclude_last_level feature