RocksDB is an embedded database for high-performance key-value data, a fork of Google LevelDB, optimized to utilize many CPU cores and efficiently utilize fast storage. It is written in C++ and provides official language bindings for C++, C, and Java, as well as many third-party language bindings.
behavior change
ReadOptions::verify_checksums=falseDisabledCacheEntryRole::kDataBlockChecksum validation for more reads of the block.- In case of scanning with async_io enabled, if posix does not support IOUring, a Status::NotSupported error will be returned to the user.
feature removal
- delete
RocksDB Lite. - delete
block_cache_compressedfeature, and the stats associated with it were also removed - remove deprecated
Env::LoadEnv(),useEnv::CreateFromString()replace. - remove deprecated
FileSystem::Load().useFileSystem::CreateFromString()replace. - Deprecated versions of these utility functions and corresponding Java bindings have been removed:
LoadOptionsFromFile,LoadLatestOptions,CheckOptionsCompatibility. - Remove FactoryFunc of LoadObject method from customizable helper method
build changes
- Now
makebuild will build a shared library instead of a static library by default, useLIB_MODE=staticto rewrite
new function
- pass
FilterV3The API now supports compression filters for wide-column entities - for
CompressedSecondaryCacheOptionsAddeddo_not_compress_roles, to disable compression for certain types of blocks. Filter blocks are now not compressed by CompressedSecondaryCache by default. - added a new
MultiGetEntityAPI, which can perform batch wide-column point query
repair
- fixed
ColumnFamilyData::flush_reasondata races caused by concurrent refreshes. - Fixed issues with Get and MultiGet when user-defined timestamps are enabled in conjunction with BlobDB.
- fixed
LockWAL()some atypical behavior of - Fixed a feature interaction bug where for Blobs,
GetEntityBlobs references are displayed instead of Blobs values. - when
ReadOptions::async_ioWhen the flag is true and IOuring is not enabled, return the correct error to the MultiGet caller (Status::NotSupported()).Previously, when the actual failure was lack of async IO support, it would returnStatus::Corruption(). - Fixed bug with DB open/restore from compressed WAL
- …
For more details, please check: https://github.com/facebook/rocksdb/releases/tag/v8.0.0
#RocksDB #released #News Fast Delivery