8.1.1 (04/06/2023)
Bug Fixes
- In the DB::VerifyFileChecksums API, ensure that file system reads of SST files are equal to the readahead_size in ReadOptions, if specified. Previously, each read was 2x the readahead_size.
8.1.0 (03/18/2023)
Behavior changes
- Compaction output file cutting logic now considers range tombstone start keys. For example, SST partitioner now may receive ParitionRequest for range tombstone start keys.
- If the async_io ReadOption is specified for MultiGet or NewIterator on a platform that doesn't support IO uring, the option is ignored and synchronous IO is used.
Bug Fixes
- Fixed an issue for backward iteration when user defined timestamp is enabled in combination with BlobDB.
- Fixed a couple of cases where a Merge operand encountered during iteration wasn't reflected in the
internal_merge_count
PerfContext counter. - Fixed a bug in CreateColumnFamilyWithImport()/ExportColumnFamily() which did not support range tombstones (#11252).
- Fixed a bug where an excluded column family from an atomic flush contains unflushed data that should've been included in this atomic flush (i.e, data of seqno less than the max seqno of this atomic flush), leading to potential data loss in this excluded column family when
WriteOptions::disableWAL == true
(#11148).
New Features
- Add statistics rocksdb.secondary.cache.filter.hits, rocksdb.secondary.cache.index.hits, and rocksdb.secondary.cache.filter.hits
- Added a new PerfContext counter
internal_merge_point_lookup_count
which tracks the number of Merge operands applied while serving point lookup queries. - Add new statistics rocksdb.table.open.prefetch.tail.read.bytes, rocksdb.table.open.prefetch.tail.{miss|hit}
- Add support for SecondaryCache with HyperClockCache (
HyperClockCacheOptions
inheritssecondary_cache
option fromShardedCacheOptions
) - Add new db properties
rocksdb.cf-write-stall-stats
,rocksdb.db-write-stall-stats
and APIs to examine them in a structured way. In particular, users ofGetMapProperty()
with propertykCFWriteStallStats
/kDBWriteStallStats
can now use the functions inWriteStallStatsMapKeys
to find stats in the map.
Public API Changes
- Changed various functions and features in
Cache
that are mostly relevant to custom implementations or wrappers. Especially, asychronous lookup functionality is moved fromLookup()
to a newStartAsyncLookup()
function.