RocksDB v4.0.0 Release Notes
Release Date: 2015-09-09 // over 8 years ago-
๐ New Features
- โ Added support for transactions. See include/rocksdb/utilities/transaction.h for more info.
- DB::GetProperty() now accepts "rocksdb.aggregated-table-properties" and "rocksdb.aggregated-table-properties-at-levelN", in which case it returns aggregated table properties of the target column family, or the aggregated table properties of the specified level N if the "at-level" version is used.
- โ Add compression option kZSTDNotFinalCompression for people to experiment ZSTD although its format is not finalized.
- ๐ We removed the need for LATEST_BACKUP file in BackupEngine. We still keep writing it when we create new backups (because of backward compatibility), but we don't read it anymore.
Public API Changes
- โ Removed class Env::RandomRWFile and Env::NewRandomRWFile().
- Renamed DBOptions.num_subcompactions to DBOptions.max_subcompactions to make the name better match the actual functionality of the option.
- โ Added Equal() method to the Comparator interface that can optionally be overwritten in cases where equality comparisons can be done more efficiently than three-way comparisons.
- Previous 'experimental' OptimisticTransaction class has been replaced by Transaction class.