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

21 lines
822 B
Diff

Index: rocksdb-8.11.3/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
-# 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)