SHA256
1
0
forked from pool/rocksdb

Accepting request 1101081 from home:amanzini:branches:server:database

- 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.

OBS-URL: https://build.opensuse.org/request/show/1101081
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=18
This commit is contained in:
Andreas Stieger 2023-07-27 13:39:34 +00:00 committed by Git OBS Bridge
parent d7b3632ec0
commit dfaf83c9ca
7 changed files with 46 additions and 15 deletions

View File

@ -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

View File

@ -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)
+

View File

@ -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)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9102704e169cfb53e7724a30750eeeb3e71307663852f01fa08d5a320e6155a8
size 12660001

3
rocksdb-8.3.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b55d6da6f562eb79bad7fdc9c368efc9ea4bfa239e69cead37923fc845a43fba
size 12713061

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jul 27 13:10:54 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
- 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 <Andreas.Stieger@gmx.de>

View File

@ -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 \