SHA256
1
0
forked from pool/rocksdb

71 Commits

Author SHA256 Message Date
7909db83ae Accepting request 1293615 from server:database
OBS-URL: https://build.opensuse.org/request/show/1293615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=30
2025-07-16 15:43:06 +00:00
Martin Pluskal
f04fa92fb7 - update to 10.4.2:
* Fix a race condition between concurrent DB::Open sharing the same 
    SstFileManager instance.
- update to 10.4.1:
  * RocksDB now triggers eligible compactions every 12 hours when periodic
    compaction is configured. This solves a limitation of the compaction 
    trigger mechanism, which would only trigger compaction after specific 
    events like flush, compaction, or SetOptions.
  * Fix a bug in BackupEngine that can crash backup due to a null 
    FSWritableFile passed to WritableFileWriter.
- update to 10.4.0:
  * Add a new CF option memtable_avg_op_scan_flush_trigger 
  * Vector based memtable now supports concurrent writers
  * Add new experimental 
    TransactionOptions::large_txn_commit_optimize_byte_threshold to enable
    optimizations for large transaction commit by transaction batch data size
  * Add a new option CompactionOptionsUniversal::reduce_file_locking
  * Add new format_version=7 to aid experimental support of custom compression
    algorithms with CompressionManager and block-based table. This format 
    version includes changing the format of TableProperties::compression_name.
  * Public API Changes
    + Change NewExternalTableFactory to return a unique_ptr instead of 
      shared_ptr
    + Add an optional min file size requirement for deletion triggered 
      compaction. 
  * Fix a bug where CreateColumnFamilyWithImport() could miss the SST file for
    the memtable flush it triggered. The exported CF then may not contain the
    updates in the memtable when CreateColumnFamilyWithImport() is called.
  * Fix iterator operations returning NotImplemented status if 
    disallow_memtable_writes and paranoid_memory_checks CF options are both set

OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=71
2025-07-16 07:13:51 +00:00
496ecec375 Accepting request 1277659 from server:database
OBS-URL: https://build.opensuse.org/request/show/1277659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=29
2025-05-15 15:02:07 +00:00
Martin Pluskal
d0abb06021 - update to 10.2.1:
* Fix improper initialization of ExternalTableOptions
- update to 10.2.0:
  * New Features
    + Provide histogram stats COMPACTION_PREFETCH_BYTES to measure number of
      bytes for RocksDB's prefetching 
    + A new API DB::GetNewestUserDefinedTimestamp is added to return the
      newest user defined timestamp seen in a column family
    + Introduce API IngestWriteBatchWithIndex() for ingesting updates into DB
      while bypassing memtable writes. This improves performance when writing 
      a large write batch to the DB.
    + Add a new CF option memtable_op_scan_flush_trigger that triggers a flush
      of the memtable if an iterator's Seek()/Next() scans over a certain number
      of invisible entries from the memtable.
  * Public API Changes
    + AdvancedColumnFamilyOptions.max_write_buffer_number_to_maintain is 
      deleted. It's deprecated since introduction of a better option 
      max_write_buffer_size_to_maintain since RocksDB 6.5.0.
    + Deprecated API DB::MaxMemCompactionLevel().
    + Deprecated ReadOptions::ignore_range_deletions.
    + Deprecated API experimental::PromoteL0().
    + Added arbitrary string map for additional options to be overriden for
      remote compactions
    + The fail_if_options_file_error option in DBOptions has been removed.
      The behavior now is to always return failure in any API that fails to 
      persist the OPTIONS file.
  * Behavior Changes
    + Make stats PREFETCH_BYTES_USEFUL, PREFETCH_HITS, PREFETCH_BYTES only 
      account for prefetching during user initiated scan
  * Bug Fixes

OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=69
2025-05-15 08:51:52 +00:00
8efbafe8c2 Accepting request 1270556 from server:database
OBS-URL: https://build.opensuse.org/request/show/1270556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=28
2025-04-18 14:20:40 +00:00
Martin Pluskal
2addb2d3a6 - update to 10.1.3:
* Fix a bug where resurrected full_history_ts_low from a previous session
    that enables UDT is used by this session that disables UDT.
- update to 10.1.2:
  * Fix a bug where tail size of remote compaction output is not persisted in
    primary db's manifest
- update to 10.1.0:
  * New Features
    + Added a new DBOptions.calculate_sst_write_lifetime_hint_set setting
    + Add a new field num_l0_files in CompactionJobInfo 
    + Added per-key-placement feature in Remote Compaction
    + Implemented API DB::GetPropertiesOfTablesByLevel 
  * Public API Changes
    + GetAllKeyVersions() now interprets empty slices literally as valid keys
    + DeleteFilesInRanges() now takes RangeOpt which is based on OptSlice. 
      The overload taking RangePtr is deprecated.
    + Add an unordered map of name/value pairs, ReadOptions::property_bag
    + Introduced CompactionServiceJobStatus::kAborted to allow handling aborted
      scenario in Schedule(), Wait() or OnInstallation() 
    + format_version < 2 in BlockBasedTableOptions is no longer supported for 
      writing new files. Support for reading such files is deprecated and might
      be removed in the future. 
      CompressedSecondaryCacheOptions::compress_format_version == 1 is also 
      deprecated.
  * Behavior Changes
    + ldb now returns an error if the specified --compression_type is not 
      supported in the build.
    + MultiGet with snapshot and ReadOptions::read_tier = kPersistedTier will
      now read a consistent view across CFs
    + CreateColumnFamily() is no longer allowed on a read-only DB

OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=67
2025-04-17 12:55:26 +00:00
89c8a967e4 Accepting request 1265668 from server:database
OBS-URL: https://build.opensuse.org/request/show/1265668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=27
2025-04-02 15:10:12 +00:00
9d74f8a906 rocksdb 9.12.2
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=65
2025-03-31 06:39:25 +00:00
e7fa9d7bcb Accepting request 1251396 from server:database
OBS-URL: https://build.opensuse.org/request/show/1251396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=26
2025-03-08 16:53:01 +00:00
08ef748182 rocksdb 9.11.1
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=63
2025-03-08 08:06:54 +00:00
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
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
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
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
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
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
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
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
39e92aaa72 Accepting request 1197375 from server:database
OBS-URL: https://build.opensuse.org/request/show/1197375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=20
2024-08-29 13:44:10 +00:00
179a9150e7 Accepting request 1187316 from server:database
OBS-URL: https://build.opensuse.org/request/show/1187316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=19
2024-07-15 17:47:07 +00:00
13a4083c92 Accepting request 1187315 from home:AndreasStieger:branches:server:database
rocksdb 9.4.0

OBS-URL: https://build.opensuse.org/request/show/1187315
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=49
2024-07-13 13:32:10 +00:00
f0794f6dd0 Accepting request 1183995 from server:database
9.3.1 (forwarded request 1183993 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1183995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=18
2024-07-01 09:19:42 +00:00
dd72fb2dfc 9.3.1
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=47
2024-06-29 13:38:28 +00:00
a1f88afca0 Accepting request 1176556 from server:database
rocksdb 9.2.1

OBS-URL: https://build.opensuse.org/request/show/1176556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=17
2024-05-24 17:52:29 +00:00
e779fbdb63 Accepting request 1176554 from home:AndreasStieger:branches:server:database
rocksdb 9.2.1

OBS-URL: https://build.opensuse.org/request/show/1176554
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=45
2024-05-23 20:27:51 +00:00
793d3b20b6 Accepting request 1169752 from server:database
OBS-URL: https://build.opensuse.org/request/show/1169752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=16
2024-04-23 16:56:38 +00:00
6ec336e1a4 Accepting request 1169751 from home:AndreasStieger:branches:server:database
rocksdb 9.1.1

OBS-URL: https://build.opensuse.org/request/show/1169751
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=43
2024-04-22 21:24:44 +00:00
e06b7a90ee Accepting request 1168712 from server:database
OBS-URL: https://build.opensuse.org/request/show/1168712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=15
2024-04-18 20:12:47 +00:00
bcdccdeaa6 Accepting request 1168706 from home:AndreasStieger:branches:server:database
rocksdb 9.0.1

OBS-URL: https://build.opensuse.org/request/show/1168706
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=41
2024-04-18 06:18:46 +00:00
7815402aba Accepting request 1159660 from server:database
OBS-URL: https://build.opensuse.org/request/show/1159660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=14
2024-03-20 20:16:37 +00:00
a680cd5960 Accepting request 1159659 from home:AndreasStieger:branches:server:database
rocksdb 9.0.0

OBS-URL: https://build.opensuse.org/request/show/1159659
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=39
2024-03-19 20:57:27 +00:00
1c80e58088 Accepting request 1152970 from server:database
OBS-URL: https://build.opensuse.org/request/show/1152970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=13
2024-02-28 18:48:07 +00:00
Martin Pluskal
22ea89c447 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
2024-02-28 15:34:09 +00:00
9baf2fc4cf Accepting request 1148859 from server:database
OBS-URL: https://build.opensuse.org/request/show/1148859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=12
2024-02-22 19:57:37 +00:00
90c735c3b9 Accepting request 1148858 from home:AndreasStieger:branches:server:database
rocksdb 8.10.2

OBS-URL: https://build.opensuse.org/request/show/1148858
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=35
2024-02-21 18:58:14 +00:00
16c421d9fe Accepting request 1138176 from server:database
OBS-URL: https://build.opensuse.org/request/show/1138176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=11
2024-01-12 22:45:16 +00:00
a9d8efec2d Accepting request 1138175 from home:AndreasStieger:branches:server:database
rocksdb 8.10.0

OBS-URL: https://build.opensuse.org/request/show/1138175
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=33
2024-01-11 19:58:13 +00:00
78e54fb144 Accepting request 1132756 from server:database
OBS-URL: https://build.opensuse.org/request/show/1132756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=10
2023-12-13 17:34:54 +00:00
f17fc3f1c6 Accepting request 1132755 from home:AndreasStieger:branches:server:database
rocksdb 8.9.1

OBS-URL: https://build.opensuse.org/request/show/1132755
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=31
2023-12-12 21:12:22 +00:00
2c065145e2 Accepting request 1128709 from server:database
OBS-URL: https://build.opensuse.org/request/show/1128709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=9
2023-11-26 18:36:52 +00:00
d512dad42c Accepting request 1128612 from home:amanzini:branches:server:database
- update to 8.8.1
  * Bug fixes:
    - Make the cache memory reservation accounting in Tiered cache 
    (primary and compressed secondary cache) more accurate to avoid over/under charging the secondary cache.
    - Allow increasing the compressed_secondary_ratio in the Tiered cache after setting it to 0 to disable.
- update to 8.8.0
  * New features:
    - Introduce AttributeGroup by adding the first AttributeGroup support API, MultiGetEntity(). 
    - Added new tickers rocksdb.fifo.{max.size|ttl}.compactions to count FIFO compactions 
      that drop files for different reasons
    - Add an experimental offpeak duration awareness by setting DBOptions::daily_offpeak_time_utc in "HH:mm-HH:mm" format.
    - Users can now change the max bytes granted in a single refill period (i.e, burst) during runtime 
      by SetSingleBurstBytes() for RocksDB rate limiter
  * Public API Changes:
    - The default value of DBOptions::fail_if_options_file_error changed from false to true. 
    - Add new Cache APIs GetSecondaryCacheCapacity() and GetSecondaryCachePinnedUsage() 
      to return the configured capacity, and cache reservation charged to the secondary cache.
  * Behavior Changes:
    - For non direct IO, eliminate the file system prefetching attempt for compaction read 
      when Options::compaction_readahead_size is 0
    - During a write stop, writes now block on in-progress recovery attempts
    - Deleting stale files upon recovery are delegated to SstFileManger if available so they can be rate limited.
  * Bug Fixes
    - Fix a bug in auto_readahead_size where first_internal_key of index blocks wasn't copied properly 
      resulting in corruption error when first_internal_key was used for comparison.
    - Fixed a bug where compaction read under non direct IO still falls back to RocksDB internal prefetching 
      after file system's prefetching returns non-OK status other than Status::NotSupported()
    - Add bounds check in WBWIIteratorImpl and make BaseDeltaIterator, WriteUnpreparedTxn and WritePreparedTxn 
      respect the upper bound and lower bound in ReadOption.
    - Fixed the handling of wide-column base values in the max_successive_merges logic.

OBS-URL: https://build.opensuse.org/request/show/1128612
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=29
2023-11-25 10:56:48 +00:00
48fcb4be2a Accepting request 1120922 from server:database
- update constraints for reliable building

OBS-URL: https://build.opensuse.org/request/show/1120922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=8
2023-10-29 18:41:36 +00:00
2c387689cf OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=27 2023-10-28 19:10:58 +00:00
ff4cba7c62 OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=26 2023-10-20 12:46:35 +00:00
307f74dac3 Accepting request 1116498 from server:database
OBS-URL: https://build.opensuse.org/request/show/1116498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=7
2023-10-10 19:00:15 +00:00
Martin Pluskal
cccb8b99b9 Accepting request 1116481 from home:amanzini:branches:server:database
- update to 8.6.7
  * Fixed a bug where compaction read under non direct IO still falls back to RocksDB internal prefetching after file system's prefetching returns non-OK status other than Status::NotSupported()
  * For non direct IO, eliminate the file system prefetching attempt for compaction read when Options::compaction_readahead_size is 0
- update to 8.6.6
  * Fix a bug with atomic_flush=true that can cause DB to stuck after a flush fails 
  * Fix a bug where RocksDB (with atomic_flush=false) can delete output SST files of pending flushes when a previous concurrent flush fails
  * When the compressed secondary cache capacity is reduced to 0, it should be completely disabled. Before this fix, inserts and lookups would still go to the backing LRUCache
- update to 8.6.5
  * Fixed a bug where rocksdb.file.read.verify.file.checksums.micros is not populated.
- update to 8.6.4
  * Public API change: Add a column family option default_temperature that is used for file reading accounting purpose, such as io statistics, for files that don't have an explicitly set temperature.
- update to 8.6.3
  * Fix a bug where if there is an error reading from offset 0 of a file from L1+ and that the file is not the first file in the sorted run, data can be lost in compaction and read/scan can return incorrect results.
  * Fix a bug where iterator may return incorrect result for DeleteRange() users if there was an error reading from a file.
- update to 8.6.2
 * Fix for async_io where during seek, when reading a block for seeking a target key in a file without any readahead, the iterator aligned the read on a page boundary and reading more than necessary. This increased the storage read bandwidth usage.
- update to 8.6.1
  * Options::compaction_readahead_size 's default value is changed from 0 to 2MB.
  * Compaction read performance will regress when Options::compaction_readahead_size is explicitly set to 0
- update to 8.6.0
  * Added enhanced data integrity checking on SST files with new format_version=6. 
  * Add a new feature to trim readahead_size during scans upto upper_bound when iterate_upper_bound is specified. 
  * RocksDB will compare the number of input keys to the number of keys processed after each compaction. 
  * Add a CF option bottommost_file_compaction_delay to allow specifying the delay of bottommost level single-file compactions.
  * Add support to allow enabling / disabling user-defined timestamps feature for an existing column family in combination with the in-Memtable only feature.
  * Implement a new admission policy for the compressed secondary cache that admits blocks evicted from the primary cache with the hit bit set. 
  * Add a column family option memtable_max_range_deletions that limits the number of range deletions in a memtable.
  * Add PutEntity API in sst_file_writer
  * Add timeout in microsecond option to WaitForCompactOptions 
  * New statistics rocksdb.file.read.{get|multiget|db.iterator|verify.checksum|verify.file.checksums}.micros measure read time of block-based SST tables or blob files during db open, Get(), MultiGet(), using db iterator, VerifyFileChecksums() and VerifyChecksum(). They require stats level greater than StatsLevel::kExceptDetailedTimers.

OBS-URL: https://build.opensuse.org/request/show/1116481
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=24
2023-10-09 15:10:20 +00:00
31027b801d Accepting request 1113914 from server:database
rocksdb 8.5.4

OBS-URL: https://build.opensuse.org/request/show/1113914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=6
2023-09-27 22:26:22 +00:00
c78b69642c Accepting request 1113913 from home:AndreasStieger:branches:server:database
rocksdb 8.5.4

OBS-URL: https://build.opensuse.org/request/show/1113913
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=22
2023-09-27 17:10:05 +00:00
80cebb51d5 Accepting request 1109205 from server:database
OBS-URL: https://build.opensuse.org/request/show/1109205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=5
2023-09-06 16:59:37 +00:00
74b5153fa5 Accepting request 1109202 from home:amanzini:branches:server:database
- update to 8.5.3
  * Fixed a race condition in GenericRateLimiter that could cause it to stop granting requests
- update to 8.5.2
  * Fix a bug where iterator may return incorrect result for DeleteRange() users if there was an error reading from a file.
- update to 8.5.1
  * Fix a bug where if there is an error reading from offset 0 of a file from L1+ and that the file is not the first file in the sorted run, data can be lost in compaction and read/scan can return incorrect results.
- update to 8.5.0
  * Public API Changes:
      Removed recently added APIs GeneralCache and MakeSharedGeneralCache() as our plan changed to stop exposing a general-purpose cache interface. The old forms of these APIs, Cache and NewLRUCache(), are still available, although general-purpose caching support will be dropped eventually.
  * Behavior Changes
      Option periodic_compaction_seconds no longer supports FIFO compaction: setting it has no effect on FIFO compactions. FIFO compaction users should only set option ttl instead.
      Move prefetching responsibility to page cache for compaction read for non directIO use case
  * Performance Improvements
      In case of direct_io, if buffer passed by callee is already aligned, RandomAccessFileRead::Read will avoid realloacting a new buffer, reducing memcpy and use already passed aligned buffer.
      Small efficiency improvement to HyperClockCache by reducing chance of compiler-generated heap allocations
  * Bug Fixes
      Fix use_after_free bug in async_io MultiReads when underlying FS enabled kFSBuffer. kFSBuffer is when underlying FS pass their own buffer instead of using RocksDB scratch in FSReadRequest. Right now it's an experimental feature.
      Fix a bug in FileTTLBooster that can cause users with a large number of levels (more than 65) to see errors like "runtime error: shift exponent .. is too large.."
- see more on HISTORY.md (https://github.com/facebook/rocksdb/blob/main/HISTORY.md)

OBS-URL: https://build.opensuse.org/request/show/1109202
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=20
2023-09-06 07:23:43 +00:00
dd82cafd63 Accepting request 1101090 from server:database
OBS-URL: https://build.opensuse.org/request/show/1101090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=4
2023-07-28 20:20:07 +00:00
dfaf83c9ca 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
2023-07-27 13:39:34 +00:00
05fff94ed4 Accepting request 1081792 from server:database
rocksDB 8.1.1

OBS-URL: https://build.opensuse.org/request/show/1081792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=3
2023-04-21 18:17:12 +00:00
d7b3632ec0 Accepting request 1081751 from home:AndreasStieger:branches:server:database
fix gflags

OBS-URL: https://build.opensuse.org/request/show/1081751
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=16
2023-04-21 13:33:22 +00:00
0b83945d3d Accepting request 1081656 from home:AndreasStieger:branches:server:database
fix build

OBS-URL: https://build.opensuse.org/request/show/1081656
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=15
2023-04-21 13:24:49 +00:00
d335658486 Accepting request 1081171 from home:AndreasStieger:branches:server:database
RocksDB 8.1.1

OBS-URL: https://build.opensuse.org/request/show/1081171
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=14
2023-04-21 09:45:50 +00:00
5e255dfd4e update constraints
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=13
2023-04-15 13:57:44 +00:00
f9af2ce06f constraints
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=12
2023-03-27 14:42:49 +00:00
38aa46a0b0 Accepting request 1074304 from server:database
OBS-URL: https://build.opensuse.org/request/show/1074304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=2
2023-03-25 17:56:01 +00:00
4619bce33e Accepting request 1074303 from home:AndreasStieger:branches:server:database
- Disable usage of jemalloc for gh#jemalloc/jemalloc#1237 to avoid
  "TLS error: cannot allocate memory in static TLS block"

OBS-URL: https://build.opensuse.org/request/show/1074303
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=10
2023-03-25 08:21:13 +00:00
e222d8f28a Accepting request 1073982 from server:database
RocksDB for review.

The conflict with mariadb is still a problem. Debian solved this by making mariadb pull in rocksdb-tools. We could do the same for TW

OBS-URL: https://build.opensuse.org/request/show/1073982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rocksdb?expand=0&rev=1
2023-03-24 14:21:16 +00:00
6728fc5417 OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=8 2023-03-23 14:01:21 +00:00
4fbd3c426f OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=7 2023-03-23 14:00:00 +00:00
8eb1d6c421 OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=6 2023-03-23 13:53:58 +00:00
85385167dc OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=5 2023-03-23 13:49:55 +00:00
9fca61cdae OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=4 2023-03-23 13:49:34 +00:00
026c15284b OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=3 2023-03-23 12:52:53 +00:00
26fc4ae8e1 Accepting request 1073869 from home:AndreasStieger:branches:server:database
tweaks, tools

OBS-URL: https://build.opensuse.org/request/show/1073869
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=2
2023-03-22 21:58:24 +00:00
Martin Pluskal
d705fa77cc Accepting request 1073649 from home:AndreasStieger
RocksDB 8.0.0

OBS-URL: https://build.opensuse.org/request/show/1073649
OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=1
2023-03-22 08:32:31 +00:00
9 changed files with 268 additions and 23 deletions

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

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

View File

@@ -1,8 +1,8 @@
Index: rocksdb-9.5.2/Makefile Index: rocksdb-10.4.2/Makefile
=================================================================== ===================================================================
--- rocksdb-9.5.2.orig/Makefile --- rocksdb-10.4.2.orig/Makefile
+++ rocksdb-9.5.2/Makefile +++ rocksdb-10.4.2/Makefile
@@ -811,9 +811,12 @@ ROCKSDB_PATCH = $(shell grep -E "ROCKSDB @@ -816,9 +816,12 @@ ROCKSDB_PATCH = $(shell grep -E "ROCKSDB
# the file needs to already exist or else the build will fail # the file needs to already exist or else the build will fail
ifndef NO_UPDATE_BUILD_VERSION ifndef NO_UPDATE_BUILD_VERSION

View File

@@ -1,7 +1,7 @@
Index: rocksdb-9.5.2/tools/CMakeLists.txt Index: rocksdb-10.4.2/tools/CMakeLists.txt
=================================================================== ===================================================================
--- rocksdb-9.5.2.orig/tools/CMakeLists.txt --- rocksdb-10.4.2.orig/tools/CMakeLists.txt
+++ rocksdb-9.5.2/tools/CMakeLists.txt +++ rocksdb-10.4.2/tools/CMakeLists.txt
@@ -1,3 +1,5 @@ @@ -1,3 +1,5 @@
+set(CMAKE_SKIP_BUILD_RPATH TRUE) +set(CMAKE_SKIP_BUILD_RPATH TRUE)
+ +

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,254 @@
-------------------------------------------------------------------
Sat Jul 12 15:02:49 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- update to 10.4.2:
* Fix a race condition between concurrent DB::Open sharing the same
SstFileManager instance.
- update to 10.4.1:
* RocksDB now triggers eligible compactions every 12 hours when periodic
compaction is configured. This solves a limitation of the compaction
trigger mechanism, which would only trigger compaction after specific
events like flush, compaction, or SetOptions.
* Fix a bug in BackupEngine that can crash backup due to a null
FSWritableFile passed to WritableFileWriter.
- update to 10.4.0:
* Add a new CF option memtable_avg_op_scan_flush_trigger
* Vector based memtable now supports concurrent writers
* Add new experimental
TransactionOptions::large_txn_commit_optimize_byte_threshold to enable
optimizations for large transaction commit by transaction batch data size
* Add a new option CompactionOptionsUniversal::reduce_file_locking
* Add new format_version=7 to aid experimental support of custom compression
algorithms with CompressionManager and block-based table. This format
version includes changing the format of TableProperties::compression_name.
* Public API Changes
+ Change NewExternalTableFactory to return a unique_ptr instead of
shared_ptr
+ Add an optional min file size requirement for deletion triggered
compaction.
* Fix a bug where CreateColumnFamilyWithImport() could miss the SST file for
the memtable flush it triggered. The exported CF then may not contain the
updates in the memtable when CreateColumnFamilyWithImport() is called.
* Fix iterator operations returning NotImplemented status if
disallow_memtable_writes and paranoid_memory_checks CF options are both set
* Fixed handling of file checksums in IngestExternalFile()
-------------------------------------------------------------------
Fri May 9 13:24:11 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- update to 10.2.1:
* Fix improper initialization of ExternalTableOptions
- update to 10.2.0:
* New Features
+ Provide histogram stats COMPACTION_PREFETCH_BYTES to measure number of
bytes for RocksDB's prefetching
+ A new API DB::GetNewestUserDefinedTimestamp is added to return the
newest user defined timestamp seen in a column family
+ Introduce API IngestWriteBatchWithIndex() for ingesting updates into DB
while bypassing memtable writes. This improves performance when writing
a large write batch to the DB.
+ Add a new CF option memtable_op_scan_flush_trigger that triggers a flush
of the memtable if an iterator's Seek()/Next() scans over a certain number
of invisible entries from the memtable.
* Public API Changes
+ AdvancedColumnFamilyOptions.max_write_buffer_number_to_maintain is
deleted. It's deprecated since introduction of a better option
max_write_buffer_size_to_maintain since RocksDB 6.5.0.
+ Deprecated API DB::MaxMemCompactionLevel().
+ Deprecated ReadOptions::ignore_range_deletions.
+ Deprecated API experimental::PromoteL0().
+ Added arbitrary string map for additional options to be overriden for
remote compactions
+ The fail_if_options_file_error option in DBOptions has been removed.
The behavior now is to always return failure in any API that fails to
persist the OPTIONS file.
* Behavior Changes
+ Make stats PREFETCH_BYTES_USEFUL, PREFETCH_HITS, PREFETCH_BYTES only
account for prefetching during user initiated scan
* Bug Fixes
+ Fix a bug in Posix file system that the FSWritableFile created via
FileSystem::ReopenWritableFile internally does not track the correct
file size.
+ Fix a bug where tail size of remote compaction output is not persisted in
primary db's manifest
-------------------------------------------------------------------
Thu Apr 17 08:51:56 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- update to 10.1.3:
* Fix a bug where resurrected full_history_ts_low from a previous session
that enables UDT is used by this session that disables UDT.
- update to 10.1.2:
* Fix a bug where tail size of remote compaction output is not persisted in
primary db's manifest
- update to 10.1.0:
* New Features
+ Added a new DBOptions.calculate_sst_write_lifetime_hint_set setting
+ Add a new field num_l0_files in CompactionJobInfo
+ Added per-key-placement feature in Remote Compaction
+ Implemented API DB::GetPropertiesOfTablesByLevel
* Public API Changes
+ GetAllKeyVersions() now interprets empty slices literally as valid keys
+ DeleteFilesInRanges() now takes RangeOpt which is based on OptSlice.
The overload taking RangePtr is deprecated.
+ Add an unordered map of name/value pairs, ReadOptions::property_bag
+ Introduced CompactionServiceJobStatus::kAborted to allow handling aborted
scenario in Schedule(), Wait() or OnInstallation()
+ format_version < 2 in BlockBasedTableOptions is no longer supported for
writing new files. Support for reading such files is deprecated and might
be removed in the future.
CompressedSecondaryCacheOptions::compress_format_version == 1 is also
deprecated.
* Behavior Changes
+ ldb now returns an error if the specified --compression_type is not
supported in the build.
+ MultiGet with snapshot and ReadOptions::read_tier = kPersistedTier will
now read a consistent view across CFs
+ CreateColumnFamily() is no longer allowed on a read-only DB
* Bug Fixes:
+ Fixed stats for Tiered Storage with preclude_last_level feature
-------------------------------------------------------------------
Sun Mar 30 17:39:47 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 9.12.2:
* Bump patch version to fix a mistake in the previous 9.11.1 tag
-------------------------------------------------------------------
Fri Mar 7 21:24:10 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 9.11.1:
* Add the ability to plug-in a custom table reader implementation
* Allow users to implement cancellation of running remote
compactions from the primary instance
* Experimental feature: secondary indices
* New option track_and_verify_wals to track and verify various
information about WAL during WAL recovery
* API changes, the DB::DeleteFile API is deprecated
-------------------------------------------------------------------
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> Wed Aug 28 07:28:34 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>

View File

@@ -1,8 +1,8 @@
# #
# spec file for package rocksdb # spec file for package rocksdb
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
# #
%define lib_name librocksdb9 %define lib_name librocksdb10
%bcond_with jemalloc %bcond_with jemalloc
Name: rocksdb Name: rocksdb
Version: 9.5.2 Version: 10.4.2
Release: 0 Release: 0
Summary: Library for embeddable, persistent and fast key-value store Summary: Library for embeddable, persistent and fast key-value store
License: (Apache-2.0 OR GPL-2.0-only) AND BSD-2-Clause License: (Apache-2.0 OR GPL-2.0-only) AND BSD-2-Clause