diff --git a/rocksdb-8.0.0-reproducible.patch b/rocksdb-8.0.0-reproducible.patch index 2fe1739..2b01b45 100644 --- a/rocksdb-8.0.0-reproducible.patch +++ b/rocksdb-8.0.0-reproducible.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.8.1/Makefile +Index: rocksdb-8.11.3/Makefile =================================================================== ---- rocksdb-8.8.1.orig/Makefile -+++ rocksdb-8.8.1/Makefile +--- rocksdb-8.11.3.orig/Makefile ++++ rocksdb-8.11.3/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 7c6569b..f5868b5 100644 --- a/rocksdb-8.0.0-rpath.patch +++ b/rocksdb-8.0.0-rpath.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.8.1/tools/CMakeLists.txt +Index: rocksdb-8.11.3/tools/CMakeLists.txt =================================================================== ---- rocksdb-8.8.1.orig/tools/CMakeLists.txt -+++ rocksdb-8.8.1/tools/CMakeLists.txt +--- rocksdb-8.11.3.orig/tools/CMakeLists.txt ++++ rocksdb-8.11.3/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 8a10e51..c1c53c8 100644 --- a/rocksdb-8.0.0-shared-liburing.patch +++ b/rocksdb-8.0.0-shared-liburing.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.8.1/cmake/modules/Finduring.cmake +Index: rocksdb-8.11.3/cmake/modules/Finduring.cmake =================================================================== ---- rocksdb-8.8.1.orig/cmake/modules/Finduring.cmake -+++ rocksdb-8.8.1/cmake/modules/Finduring.cmake +--- rocksdb-8.11.3.orig/cmake/modules/Finduring.cmake ++++ rocksdb-8.11.3/cmake/modules/Finduring.cmake @@ -7,7 +7,7 @@ find_path(uring_INCLUDE_DIR NAMES liburing.h) diff --git a/rocksdb-8.10.2.tar.gz b/rocksdb-8.10.2.tar.gz deleted file mode 100644 index ad00db1..0000000 --- a/rocksdb-8.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44b6ec2f4723a0d495762da245d4a59d38704e0d9d3d31c45af4014bee853256 -size 13316670 diff --git a/rocksdb-8.11.3.tar.gz b/rocksdb-8.11.3.tar.gz new file mode 100644 index 0000000..4499fdd --- /dev/null +++ b/rocksdb-8.11.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b51d1d907ea13fab430bf052618610994f08cd8ed0b1341c3e89fe02e199f8e +size 13345436 diff --git a/rocksdb.changes b/rocksdb.changes index 3c48d58..ac98701 100644 --- a/rocksdb.changes +++ b/rocksdb.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Wed Feb 28 15:18:46 UTC 2024 - Andrea Manzini + +- update to 8.11.3: + * Bug Fixes + + Fix a bug where older data of an ingested key can be returned for read when universal compaction is used + + Apply appropriate rate limiting and priorities in more places. + +- update to 8.11.0: + * New Features + + Add new statistics: rocksdb.sst.write.micros measures time of each write to SST file + + * Public API Changes + + Added another enumerator kVerify to enum class FileOperationType in listener.h. + Update your switch statements as needed. + + Add CompressionOptions to the CompressedSecondaryCacheOptions structure to allow users to specify + library specific options when creating the compressed secondary cache. + + Deprecated several options: level_compaction_dynamic_file_size, ignore_max_compaction_bytes_for_input, + + check_flush_compaction_key_order, flush_verify_memtable_count, compaction_verify_record_count, + fail_if_options_file_error, and enforce_single_del_contracts + + Exposed options ttl via c api. + + * Behavior Changes + + rocksdb.blobdb.blob.file.write.micros expands to also measure time writing the header and footer. + Therefore the COUNT may be higher and values may be smaller than before. For stacked BlobDB, + it no longer measures the time of explictly flushing blob file. + + Files will be compacted to the next level if the data age exceeds periodic_compaction_seconds + except for the last level. + + Reduced the compaction debt ratio trigger for scheduling parallel compactions + + For leveled compaction with default compaction pri (kMinOverlappingRatio), + files marked for compaction will be prioritized over files not marked when picking a file + from a level for compaction. + + * Bug Fixes + + Fix bug in auto_readahead_size that combined with IndexType::kBinarySearchWithFirstKey + fails + or iterator lands at a wrong key + + Fixed some cases in which DB file corruption was detected but ignored on creating a backup with BackupEngine. + + Fix bugs where rocksdb.blobdb.blob.file.synced includes blob files failed to get synced + and rocksdb.blobdb.blob.file.bytes.written includes blob bytes failed to get written. + + Fixed a possible memory leak or crash on a failure (such as I/O error) + in automatic atomic flush of multiple column families. + + Fixed some cases of in-memory data corruption using mmap reads with BackupEngine, sst_dump, or ldb. + + Fixed issues with experimental preclude_last_level_data_seconds option that could interfere + with expected data tiering. + + Fixed the handling of the edge case when all existing blob files become unreferenced. + Such files are now correctly deleted. + ------------------------------------------------------------------- Wed Feb 21 18:53:31 UTC 2024 - Andreas Stieger diff --git a/rocksdb.spec b/rocksdb.spec index 3d0c7a2..9c78e97 100644 --- a/rocksdb.spec +++ b/rocksdb.spec @@ -1,7 +1,7 @@ # # spec file for package rocksdb # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define lib_name librocksdb8 %bcond_with jemalloc Name: rocksdb -Version: 8.10.2 +Version: 8.11.3 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