diff --git a/rocksdb-8.0.0-reproducible.patch b/rocksdb-8.0.0-reproducible.patch index c45d1d5..2fe1739 100644 --- a/rocksdb-8.0.0-reproducible.patch +++ b/rocksdb-8.0.0-reproducible.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.6.7/Makefile +Index: rocksdb-8.8.1/Makefile =================================================================== ---- rocksdb-8.6.7.orig/Makefile -+++ rocksdb-8.6.7/Makefile +--- rocksdb-8.8.1.orig/Makefile ++++ rocksdb-8.8.1/Makefile @@ -787,9 +787,12 @@ ROCKSDB_PATCH = $(shell grep -E "ROCKSDB # the file needs to already exist or else the build will fail ifndef NO_UPDATE_BUILD_VERSION diff --git a/rocksdb-8.0.0-rpath.patch b/rocksdb-8.0.0-rpath.patch index e5fdf45..7c6569b 100644 --- a/rocksdb-8.0.0-rpath.patch +++ b/rocksdb-8.0.0-rpath.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.6.7/tools/CMakeLists.txt +Index: rocksdb-8.8.1/tools/CMakeLists.txt =================================================================== ---- rocksdb-8.6.7.orig/tools/CMakeLists.txt -+++ rocksdb-8.6.7/tools/CMakeLists.txt +--- rocksdb-8.8.1.orig/tools/CMakeLists.txt ++++ rocksdb-8.8.1/tools/CMakeLists.txt @@ -1,3 +1,5 @@ +set(CMAKE_SKIP_BUILD_RPATH TRUE) + diff --git a/rocksdb-8.0.0-shared-liburing.patch b/rocksdb-8.0.0-shared-liburing.patch index 06bd07e..8a10e51 100644 --- a/rocksdb-8.0.0-shared-liburing.patch +++ b/rocksdb-8.0.0-shared-liburing.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.6.7/cmake/modules/Finduring.cmake +Index: rocksdb-8.8.1/cmake/modules/Finduring.cmake =================================================================== ---- rocksdb-8.6.7.orig/cmake/modules/Finduring.cmake -+++ rocksdb-8.6.7/cmake/modules/Finduring.cmake +--- rocksdb-8.8.1.orig/cmake/modules/Finduring.cmake ++++ rocksdb-8.8.1/cmake/modules/Finduring.cmake @@ -7,7 +7,7 @@ find_path(uring_INCLUDE_DIR NAMES liburing.h) diff --git a/rocksdb-8.6.7.tar.gz b/rocksdb-8.6.7.tar.gz deleted file mode 100644 index 7b2ae3d..0000000 --- a/rocksdb-8.6.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cdb2fc3c6a556f20591f564cb8e023e56828469aa3f76e1d9535c443ba1f0c1a -size 12806059 diff --git a/rocksdb-8.8.1.tar.gz b/rocksdb-8.8.1.tar.gz new file mode 100644 index 0000000..c62629d --- /dev/null +++ b/rocksdb-8.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:056c7e21ad8ae36b026ac3b94b9d6e0fcc60e1d937fc80330921e4181be5c36e +size 12926946 diff --git a/rocksdb.changes b/rocksdb.changes index 23ff209..fd4f5e5 100644 --- a/rocksdb.changes +++ b/rocksdb.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Fri Nov 24 14:40:42 UTC 2023 - Andrea Manzini + +- update to 8.8.1 + * Bug fixes: + - Make the cache memory reservation accounting in Tiered cache + (primary and compressed secondary cache) more accurate to avoid over/under charging the secondary cache. + - Allow increasing the compressed_secondary_ratio in the Tiered cache after setting it to 0 to disable. + +- update to 8.8.0 + * New features: + - Introduce AttributeGroup by adding the first AttributeGroup support API, MultiGetEntity(). + - Added new tickers rocksdb.fifo.{max.size|ttl}.compactions to count FIFO compactions + that drop files for different reasons + - Add an experimental offpeak duration awareness by setting DBOptions::daily_offpeak_time_utc in "HH:mm-HH:mm" format. + - Users can now change the max bytes granted in a single refill period (i.e, burst) during runtime + by SetSingleBurstBytes() for RocksDB rate limiter + * Public API Changes: + - The default value of DBOptions::fail_if_options_file_error changed from false to true. + - Add new Cache APIs GetSecondaryCacheCapacity() and GetSecondaryCachePinnedUsage() + to return the configured capacity, and cache reservation charged to the secondary cache. + * Behavior Changes: + - For non direct IO, eliminate the file system prefetching attempt for compaction read + when Options::compaction_readahead_size is 0 + - During a write stop, writes now block on in-progress recovery attempts + - Deleting stale files upon recovery are delegated to SstFileManger if available so they can be rate limited. + * Bug Fixes + - Fix a bug in auto_readahead_size where first_internal_key of index blocks wasn't copied properly + resulting in corruption error when first_internal_key was used for comparison. + - Fixed a bug where compaction read under non direct IO still falls back to RocksDB internal prefetching + after file system's prefetching returns non-OK status other than Status::NotSupported() + - Add bounds check in WBWIIteratorImpl and make BaseDeltaIterator, WriteUnpreparedTxn and WritePreparedTxn + respect the upper bound and lower bound in ReadOption. + - Fixed the handling of wide-column base values in the max_successive_merges logic. + - Fixed a rare race bug involving a concurrent combination of Create/DropColumnFamily and/or Set(DB)Options + that could lead to inconsistency between (a) the DB's reported options state, (b) the DB options in effect, + and (c) the latest persisted OPTIONS file. + - Fixed a possible underflow when computing the compressed secondary cache share of memory reservations + while updating the compressed secondary to total block cache ratio. + * Performance Improvements + - Improved the I/O efficiency of DB::Open a new DB with create_missing_column_families=true and many column families. + +- update to 8.7.3 + * Behavior Changes: + - Deleting stale files upon recovery are delegated to SstFileManger if available so they can be rate limited. + * Public API Changes: + - Add new Cache APIs GetSecondaryCacheCapacity() and GetSecondaryCachePinnedUsage() to return + the configured capacity, and cache reservation charged to the secondary cache. + * Bug Fixes: + - Fixed a possible underflow when computing the compressed secondary cache share of memory reservations + while updating the compressed secondary to total block cache ratio. + - Fix an assertion failure when UpdeteTieredCache() is called in an idempotent manner. + + * see more details at https://github.com/facebook/rocksdb/releases/tag/v8.7.3 + ------------------------------------------------------------------- Sat Oct 28 19:10:49 UTC 2023 - Andreas Stieger diff --git a/rocksdb.spec b/rocksdb.spec index 6bc4479..146d802 100644 --- a/rocksdb.spec +++ b/rocksdb.spec @@ -20,7 +20,7 @@ %define lib_name librocksdb8 %bcond_with jemalloc Name: rocksdb -Version: 8.6.7 +Version: 8.8.1 Release: 0 Summary: Library for embeddable, persistent and fast key-value store License: (Apache-2.0 OR GPL-2.0-only) AND BSD-2-Clause