SHA256
1
0
forked from pool/rocksdb
rocksdb/rocksdb-8.0.0-reproducible.patch
Andrea Manzini 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

21 lines
819 B
Diff

Index: rocksdb-8.8.1/Makefile
===================================================================
--- rocksdb-8.8.1.orig/Makefile
+++ rocksdb-8.8.1/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
-# By default, use the current date-time as the date. If there are no changes,
-# we will use the last commit date instead.
-build_date := $(shell date "+%Y-%m-%d %T")
+DATE_FMT = %Y-%m-%d
+ifdef SOURCE_DATE_EPOCH
+ build_date ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u "+$(DATE_FMT)")
+else
+ build_date ?= $(shell date "+$(DATE_FMT)")
+endif
ifdef FORCE_GIT_SHA
git_sha := $(FORCE_GIT_SHA)