SHA256
1
0
forked from pool/rocksdb

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

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

OBS-URL: https://build.opensuse.org/request/show/1152968
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=37
This commit is contained in:
Martin Pluskal 2024-02-28 15:34:09 +00:00 committed by Git OBS Bridge
parent 90c735c3b9
commit 22ea89c447
7 changed files with 61 additions and 14 deletions

View File

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

View File

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

View File

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

View File

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

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

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

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Wed Feb 28 15:18:46 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- 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 <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package rocksdb
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# 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