diff --git a/rocksdb-8.0.0-reproducible.patch b/rocksdb-8.0.0-reproducible.patch index 2b01b45..4905b17 100644 --- a/rocksdb-8.0.0-reproducible.patch +++ b/rocksdb-8.0.0-reproducible.patch @@ -1,8 +1,8 @@ -Index: rocksdb-8.11.3/Makefile +Index: rocksdb-9.5.2/Makefile =================================================================== ---- rocksdb-8.11.3.orig/Makefile -+++ rocksdb-8.11.3/Makefile -@@ -787,9 +787,12 @@ ROCKSDB_PATCH = $(shell grep -E "ROCKSDB +--- rocksdb-9.5.2.orig/Makefile ++++ rocksdb-9.5.2/Makefile +@@ -811,9 +811,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 f5868b5..3c8250a 100644 --- a/rocksdb-8.0.0-rpath.patch +++ b/rocksdb-8.0.0-rpath.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.11.3/tools/CMakeLists.txt +Index: rocksdb-9.5.2/tools/CMakeLists.txt =================================================================== ---- rocksdb-8.11.3.orig/tools/CMakeLists.txt -+++ rocksdb-8.11.3/tools/CMakeLists.txt +--- rocksdb-9.5.2.orig/tools/CMakeLists.txt ++++ rocksdb-9.5.2/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 c1c53c8..c5c1f31 100644 --- a/rocksdb-8.0.0-shared-liburing.patch +++ b/rocksdb-8.0.0-shared-liburing.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.11.3/cmake/modules/Finduring.cmake +Index: rocksdb-9.5.2/cmake/modules/Finduring.cmake =================================================================== ---- rocksdb-8.11.3.orig/cmake/modules/Finduring.cmake -+++ rocksdb-8.11.3/cmake/modules/Finduring.cmake +--- rocksdb-9.5.2.orig/cmake/modules/Finduring.cmake ++++ rocksdb-9.5.2/cmake/modules/Finduring.cmake @@ -7,7 +7,7 @@ find_path(uring_INCLUDE_DIR NAMES liburing.h) diff --git a/rocksdb-9.4.0.tar.gz b/rocksdb-9.4.0.tar.gz deleted file mode 100644 index bde5040..0000000 --- a/rocksdb-9.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f829976aa24b8ba432e156f52c9e0f0bd89c46dc0cc5a9a628ea70571c1551c -size 13550643 diff --git a/rocksdb-9.5.2.tar.gz b/rocksdb-9.5.2.tar.gz new file mode 100644 index 0000000..9265979 --- /dev/null +++ b/rocksdb-9.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b20780586d3df4a3c5bcbde341a2c1946b03d18237960bda5bc5e9538f42af40 +size 13565856 diff --git a/rocksdb.changes b/rocksdb.changes index faa7b91..12d361c 100644 --- a/rocksdb.changes +++ b/rocksdb.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Wed Aug 28 07:28:34 UTC 2024 - Andrea Manzini + +- update to 9.5.2: + * Fix a race condition in pessimistic transactions that could allow + multiple transactions with the same name to be registered simultaneously, + resulting in a crash or other unpredictable behavior. + * Add ticker stats to count file read retries due to checksum mismatch + +- update to 9.5.1: + * Make DestroyDB supports slow deletion when it's configured in + SstFileManager. The slow deletion is subject to the configured + rate_bytes_per_sec, but not subject to the max_trash_db_ratio. + +- update to 9.5.0: + * Introduced new C API function rocksdb_writebatch_iterate_cf for column + family-aware iteration over the contents of a WriteBatch + * Add support to ingest SST files generated by a DB instead of SstFileWriter. + This can be enabled with experimental option + IngestExternalFileOptions::allow_db_generated_files. + * When calculating total log size for the log_size_for_flush argument + in CreateCheckpoint API, the size of the archived log will not be + included to avoid unnecessary flush + * Fix a major bug in which an iterator using prefix filtering and SeekForPrev + might miss data when the DB is using whole_key_filtering=false and + partition_filters=true. + * Fixed a bug where OnErrorRecoveryBegin() is not called before auto + recovery starts. + * Fixed a bug where event listener reads ErrorHandler's bg_error_ member + without holding db mutex(#12803). + * Fixed a bug in handling MANIFEST write error that caused the latest valid + MANIFEST file to get deleted, resulting in the DB being unopenable. + * Fixed a race between error recovery due to manifest sync or write failure + and external SST file ingestion. Both attempt to write a new manifest file, + which causes an assertion failure. + * Fix an issue where compactions were opening table files and reading table + properties while holding db mutex_. + * Reduce unnecessary filesystem queries and DB mutex acquires in creating + backups and checkpoints. + ------------------------------------------------------------------- Sat Jul 13 13:21:25 UTC 2024 - Andreas Stieger diff --git a/rocksdb.spec b/rocksdb.spec index e992c0a..e121fcf 100644 --- a/rocksdb.spec +++ b/rocksdb.spec @@ -20,7 +20,7 @@ %define lib_name librocksdb9 %bcond_with jemalloc Name: rocksdb -Version: 9.4.0 +Version: 9.5.2 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