diff --git a/rocksdb-8.0.0-reproducible.patch b/rocksdb-8.0.0-reproducible.patch index a3c2ca7..8f53612 100644 --- a/rocksdb-8.0.0-reproducible.patch +++ b/rocksdb-8.0.0-reproducible.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.0.0/Makefile +Index: rocksdb-8.3.2/Makefile =================================================================== ---- rocksdb-8.0.0.orig/Makefile -+++ rocksdb-8.0.0/Makefile +--- rocksdb-8.3.2.orig/Makefile ++++ rocksdb-8.3.2/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 0390ba4..196e71a 100644 --- a/rocksdb-8.0.0-rpath.patch +++ b/rocksdb-8.0.0-rpath.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.0.0/tools/CMakeLists.txt +Index: rocksdb-8.3.2/tools/CMakeLists.txt =================================================================== ---- rocksdb-8.0.0.orig/tools/CMakeLists.txt -+++ rocksdb-8.0.0/tools/CMakeLists.txt +--- rocksdb-8.3.2.orig/tools/CMakeLists.txt ++++ rocksdb-8.3.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 8d9dbb1..9f5f43e 100644 --- a/rocksdb-8.0.0-shared-liburing.patch +++ b/rocksdb-8.0.0-shared-liburing.patch @@ -1,7 +1,7 @@ -Index: rocksdb-8.0.0/cmake/modules/Finduring.cmake +Index: rocksdb-8.3.2/cmake/modules/Finduring.cmake =================================================================== ---- rocksdb-8.0.0.orig/cmake/modules/Finduring.cmake -+++ rocksdb-8.0.0/cmake/modules/Finduring.cmake +--- rocksdb-8.3.2.orig/cmake/modules/Finduring.cmake ++++ rocksdb-8.3.2/cmake/modules/Finduring.cmake @@ -7,7 +7,7 @@ find_path(uring_INCLUDE_DIR NAMES liburing.h) diff --git a/rocksdb-8.1.1.tar.gz b/rocksdb-8.1.1.tar.gz deleted file mode 100644 index e5ff8f3..0000000 --- a/rocksdb-8.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9102704e169cfb53e7724a30750eeeb3e71307663852f01fa08d5a320e6155a8 -size 12660001 diff --git a/rocksdb-8.3.2.tar.gz b/rocksdb-8.3.2.tar.gz new file mode 100644 index 0000000..476360a --- /dev/null +++ b/rocksdb-8.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b55d6da6f562eb79bad7fdc9c368efc9ea4bfa239e69cead37923fc845a43fba +size 12713061 diff --git a/rocksdb.changes b/rocksdb.changes index cc431d7..20be66d 100644 --- a/rocksdb.changes +++ b/rocksdb.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Jul 27 13:10:54 UTC 2023 - Andrea Manzini + +- update to 8.3.2 + * Bug Fixes: + Reduced cases of illegally using Env::Default() during static destruction by never destroying the internal PosixEnv itself +- update to 8.3.1 + * Performance Improvements: + Fixed higher read QPS during DB::Open() reading files created prior to #11406, +- update to 8.3.0 + * New Features: + Introduced a new option block_protection_bytes_per_key, which can be used to enable per key-value integrity protection for in-memory blocks in block cache + Improve the operational safety of publishing a DB or SST files to many hosts by using different block cache hash seeds on different hosts. + Introduced a new option CompactionOptionsFIFO::file_temperature_age_thresholds that allows FIFO compaction to compact files to different temperatures based on key age + Added a new ticker stat to count how many times RocksDB detected a corruption while verifying a block checksum: BLOCK_CHECKSUM_MISMATCH_COUNT. + New statistics rocksdb.file.read.db.open.micros that measures read time of block-based SST tables or blob files during db open. + New statistics tickers for various iterator seek behaviors and relevant filtering, as *_LEVEL_SEEK_*. (#11460) + * Public API Changes: + EXPERIMENTAL: Add new API DB::ClipColumnFamily to clip the key in CF to a certain range. It will physically deletes all keys outside the range including tombstones. + Add MakeSharedCache() construction functions to various cache Options objects, and deprecated the NewWhateverCache() functions with long parameter lists. + Changed the meaning of various Bloom filter stats (prefix vs. whole key), with iterator-related filtering only being tracked in the new *_LEVEL_SEEK_*. stats. (#11460) + * Behavior changes: + For x86, CPU features are no longer detected at runtime nor in build scripts, but in source code using common preprocessor defines. + This will likely unlock some small performance improvements on some newer hardware, but could hurt performance of the kCRC32c checksum, + which is no longer the default, on some "portable" builds. See PR #11419 for details. + * Bug Fixes: + Delete an empty WAL file on DB open if the log number is less than the min log number to keep + Delete temp OPTIONS file on DB open if there is a failure to write it out or rename it + * Performance Improvements: + Improved the I/O efficiency of prefetching SST metadata by recording more information in the DB manifest. + ------------------------------------------------------------------- Fri Apr 21 12:55:27 UTC 2023 - Andreas Stieger diff --git a/rocksdb.spec b/rocksdb.spec index fa2d431..ef95c7f 100644 --- a/rocksdb.spec +++ b/rocksdb.spec @@ -20,9 +20,9 @@ %define lib_name librocksdb8 %bcond_with jemalloc Name: rocksdb -Version: 8.1.1 +Version: 8.3.2 Release: 0 -Summary: A library that provides an embeddable, persistent key-value store for fast storage +Summary: Library for embeddable, persistent and fast key-value store License: (Apache-2.0 OR GPL-2.0-only) AND BSD-2-Clause URL: https://rocksdb.org/ Source: https://github.com/facebook/rocksdb/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -101,7 +101,7 @@ the RocksDB library. # which is build in library in debug mode and adds some overhead. # Warnings: https://github.com/facebook/rocksdb/issues/11043 %cmake \ - -DPORTABLE=ON \ + -DPORTABLE=1 \ -DFAIL_ON_WARNINGS=OFF \ %if !%{with jemalloc} -DWITH_JEMALLOC=0 \