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=false
DisabledCacheEntryRole::kDataBlock
Checksum 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_compressed
feature, 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
make
build will build a shared library instead of a static library by default, useLIB_MODE=static
to rewrite
new function
- pass
FilterV3
The API now supports compression filters for wide-column entities - for
CompressedSecondaryCacheOptions
Addeddo_not_compress_roles
, to disable compression for certain types of blocks. Filter blocks are now not compressed by CompressedSecondaryCache by default. - added a new
MultiGetEntity
API, which can perform batch wide-column point query
repair
- fixed
ColumnFamilyData::flush_reason
data 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,
GetEntity
Blobs references are displayed instead of Blobs values. - when
ReadOptions::async_io
When 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