SHA256
1
0
forked from pool/rocksdb

Compare commits

...

10 Commits

Author SHA256 Message Date
Ana Guerrero
cf7e9e8a36 Accepting request 1237655 from server:database
OBS-URL: https://build.opensuse.org/request/show/1237655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=25
2025-01-14 15:23:59 +00:00
Martin Pluskal
a35f4f547c rocksdb 9.10.0
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=61
2025-01-14 08:35:40 +00:00
Ana Guerrero
fee0f91dbe Accepting request 1233493 from server:database
OBS-URL: https://build.opensuse.org/request/show/1233493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=24
2024-12-29 10:56:45 +00:00
Andrea Manzini
27829fb105 rocksdb 9.9.3
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=59
2024-12-27 07:09:12 +00:00
Ana Guerrero
aea09c0413 Accepting request 1220493 from server:database
OBS-URL: https://build.opensuse.org/request/show/1220493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=23
2024-11-04 21:42:08 +00:00
Andrea Manzini
2d1b6911f5 rocksdb 9.7.4
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=57
2024-11-04 07:40:40 +00:00
Dominique Leuenberger
f06cb52494 Accepting request 1219317 from server:database
OBS-URL: https://build.opensuse.org/request/show/1219317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=22
2024-10-30 16:37:45 +00:00
Andrea Manzini
b6df466184 - update to 9.7.3
* OPTIONS file to be loaded by remote worker is now preserved so that it does
    not get purged by the primary host. 
- update to 9.7.2
  * Fixed a bug for surfacing write unix time: 
    Iterator::GetProperty("rocksdb.iterator.write-time") for non-L0 files.
- update to 9.7.1
  * Fix for Several DB option settings could be lost through 
    GetOptionsFromString(), possibly elsewhere as well.
  * Fix under counting of allocated memory in the compressed secondary cache 
  * Skip insertion of compressed blocks in the secondary cache if the 
    lowest_used_cache_tier DB option is kVolatileTier.
- update to 9.7.0
  * New Features:
    + Make Cache a customizable class that can be instantiated by the object 
      registry.
   + Add new option prefix_seek_opt_in_only that makes iterators generally safer
   + Add a new table property "rocksdb.key.largest.seqno" which records the 
     largest sequence number of all keys in file.
  * Behavior Changes
   + Changed the semantics of the BlobDB configuration option 
     blob_garbage_collection_force_threshold 
   + Set write_dbid_to_manifest=true by default. This means DB ID will now be 
     preserved through backups, checkpoints, etc. by default. Also add 
     write_identity_file option 
   + In FIFO compaction, compactions for changing file temperature (configured 
     by option file_temperature_age_thresholds) will compact one file at a time
   + Support ingesting db generated files using hard link
   + Add a new file ingestion option IngestExternalFileOptions::link_files 
     to hard link input files and preserve original files links after ingestion.

OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=55
2024-10-30 06:52:04 +00:00
Ana Guerrero
a33de63729 Accepting request 1201740 from server:database
OBS-URL: https://build.opensuse.org/request/show/1201740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=21
2024-09-18 13:27:51 +00:00
Martin Pluskal
5c7badb80f - update to 9.6.1:
* Fix correctness of MultiGet across column families with user timestamp.
- update to 9.6.0:
  - New Features
  * Best efforts recovery supports recovering to incomplete Version with a 
    clean seqno cut that presents a valid point in time view from the user's 
    perspective, if versioning history doesn't include atomic flush.
  * New option BlockBasedTableOptions::decouple_partitioned_filters should 
    improve efficiency in serving read queries because filter and index
    partitions can consistently target the configured metadata_block_size. 
    This option is currently opt-in.
  * Introduce a new mutable CF option paranoid_memory_checks. It enables 
    additional validation on data integrity during reads/scanning. Currently, 
    skip list based memtable will validate key ordering during look up and scans.
  - Public API Changes
  * Add ticker stats to count file read retries due to checksum mismatch
  * Adds optional installation callback function for remote compaction
  - Behavior Changes
  * There may be less intra-L0 compaction triggered by total L0 size being too 
    small. We now use compensated file size (tombstones are assigned some value 
    size) when calculating L0 size and reduce the threshold for L0 size limit. 
    This is to avoid accumulating too much data/tombstones in L0.
  - Bug Fixes
  * 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.
  * Fixed a bug where we set unprep_seqs_ even when WriteImpl() fails. This was 
    caught by stress test write fault injection in WriteImpl(). This may have 
    incorrectly caused iteration creation failure for unvalidated writes or 
    returned wrong result for WriteUnpreparedTxn::GetUnpreparedSequenceNumbers().

OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=53
2024-09-18 08:46:39 +00:00
7 changed files with 135 additions and 15 deletions

View File

@ -1,8 +1,8 @@
Index: rocksdb-9.5.2/Makefile
Index: rocksdb-9.7.3/Makefile
===================================================================
--- rocksdb-9.5.2.orig/Makefile
+++ rocksdb-9.5.2/Makefile
@@ -811,9 +811,12 @@ ROCKSDB_PATCH = $(shell grep -E "ROCKSDB
--- rocksdb-9.7.3.orig/Makefile
+++ rocksdb-9.7.3/Makefile
@@ -816,9 +816,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-9.5.2/tools/CMakeLists.txt
Index: rocksdb-9.7.3/tools/CMakeLists.txt
===================================================================
--- rocksdb-9.5.2.orig/tools/CMakeLists.txt
+++ rocksdb-9.5.2/tools/CMakeLists.txt
--- rocksdb-9.7.3.orig/tools/CMakeLists.txt
+++ rocksdb-9.7.3/tools/CMakeLists.txt
@@ -1,3 +1,5 @@
+set(CMAKE_SKIP_BUILD_RPATH TRUE)
+

View File

@ -1,7 +1,7 @@
Index: rocksdb-9.5.2/cmake/modules/Finduring.cmake
Index: rocksdb-9.7.3/cmake/modules/Finduring.cmake
===================================================================
--- rocksdb-9.5.2.orig/cmake/modules/Finduring.cmake
+++ rocksdb-9.5.2/cmake/modules/Finduring.cmake
--- rocksdb-9.7.3.orig/cmake/modules/Finduring.cmake
+++ rocksdb-9.7.3/cmake/modules/Finduring.cmake
@@ -7,7 +7,7 @@
find_path(uring_INCLUDE_DIR
NAMES liburing.h)

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

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

View File

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

View File

@ -1,3 +1,123 @@
-------------------------------------------------------------------
Sun Jan 12 10:12:58 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 9.10.0:
* Introduce TransactionOptions::commit_bypass_memtable to enable
transaction commit to bypass memtable insertions. This can be
beneficial for transactions with many operations, as it reduces
commit time that is mostly spent on memtable insertion.
* Deprecated Remote Compaction APIs (StartV2, WaitForCompleteV2)
are completely removed from the codebase
* DB::KeyMayExist() now follows its function comment, which means
value parameter can be null, and it will be set only if
value_found is passed in.
* Bug fixes and performance improvements
-------------------------------------------------------------------
Wed Dec 18 17:39:39 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 9.9.3:
* A notable number of feature additions, API changes, performance
improvements and bug fixes.
-------------------------------------------------------------------
Sat Nov 2 11:48:53 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 9.7.4:
* Fix a leak of obsolete blob files left open until DB::Close().
This bug was introduced in version 9.4.0.
-------------------------------------------------------------------
Sun Oct 27 14:35:46 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- update to 9.7.3
* OPTIONS file to be loaded by remote worker is now preserved so that it does
not get purged by the primary host.
- update to 9.7.2
* Fixed a bug for surfacing write unix time:
Iterator::GetProperty("rocksdb.iterator.write-time") for non-L0 files.
- update to 9.7.1
* Fix for Several DB option settings could be lost through
GetOptionsFromString(), possibly elsewhere as well.
* Fix under counting of allocated memory in the compressed secondary cache
* Skip insertion of compressed blocks in the secondary cache if the
lowest_used_cache_tier DB option is kVolatileTier.
- update to 9.7.0
* New Features:
+ Make Cache a customizable class that can be instantiated by the object
registry.
+ Add new option prefix_seek_opt_in_only that makes iterators generally safer
+ Add a new table property "rocksdb.key.largest.seqno" which records the
largest sequence number of all keys in file.
* Behavior Changes
+ Changed the semantics of the BlobDB configuration option
blob_garbage_collection_force_threshold
+ Set write_dbid_to_manifest=true by default. This means DB ID will now be
preserved through backups, checkpoints, etc. by default. Also add
write_identity_file option
+ In FIFO compaction, compactions for changing file temperature (configured
by option file_temperature_age_thresholds) will compact one file at a time
+ Support ingesting db generated files using hard link
+ Add a new file ingestion option IngestExternalFileOptions::link_files
to hard link input files and preserve original files links after ingestion.
+ DB::Close now untracks files in SstFileManager, making avaialble any space
used by them
* Bug Fixes
+ Fix a bug in CompactRange() where result files may not be compacted in any
future compaction.
+ Fix handling of dynamic change of prefix_extractor with memtable prefix
filter.
+ Fix a bug with manual_wal_flush and auto error recovery from WAL failure
that may cause CFs to be inconsistent
-------------------------------------------------------------------
Thu Sep 12 13:22:35 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- update to 9.6.1:
* Fix correctness of MultiGet across column families with user timestamp.
- update to 9.6.0:
- New Features
* Best efforts recovery supports recovering to incomplete Version with a
clean seqno cut that presents a valid point in time view from the user's
perspective, if versioning history doesn't include atomic flush.
* New option BlockBasedTableOptions::decouple_partitioned_filters should
improve efficiency in serving read queries because filter and index
partitions can consistently target the configured metadata_block_size.
This option is currently opt-in.
* Introduce a new mutable CF option paranoid_memory_checks. It enables
additional validation on data integrity during reads/scanning. Currently,
skip list based memtable will validate key ordering during look up and scans.
- Public API Changes
* Add ticker stats to count file read retries due to checksum mismatch
* Adds optional installation callback function for remote compaction
- Behavior Changes
* There may be less intra-L0 compaction triggered by total L0 size being too
small. We now use compensated file size (tombstones are assigned some value
size) when calculating L0 size and reduce the threshold for L0 size limit.
This is to avoid accumulating too much data/tombstones in L0.
- Bug Fixes
* 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.
* Fixed a bug where we set unprep_seqs_ even when WriteImpl() fails. This was
caught by stress test write fault injection in WriteImpl(). This may have
incorrectly caused iteration creation failure for unvalidated writes or
returned wrong result for WriteUnpreparedTxn::GetUnpreparedSequenceNumbers().
* Fixed a bug where successful write right after error recovery for last failed
write finishes causes duplicate WAL entries
* Fixed a data race involving the background error status in unordered_write
mode.
* Fix a bug where file snapshot functions like backup, checkpoint may attempt
to copy a non-existing manifest file. #12882
* Fix a bug where per kv checksum corruption may be ignored in MultiGet().
* 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.
-------------------------------------------------------------------
Wed Aug 28 07:28:34 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>

View File

@ -2,7 +2,7 @@
# spec file for package rocksdb
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%define lib_name librocksdb9
%bcond_with jemalloc
Name: rocksdb
Version: 9.5.2
Version: 9.10.0
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