forked from pool/rocksdb
cf971fe386
* 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. * Add ticker stats to count file read retries due to checksum mismatch - update to 9.5.1: * 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. - update to 9.5.0: * Introduced new C API function rocksdb_writebatch_iterate_cf for column family-aware iteration over the contents of a WriteBatch * Add support to ingest SST files generated by a DB instead of SstFileWriter. This can be enabled with experimental option IngestExternalFileOptions::allow_db_generated_files. * When calculating total log size for the log_size_for_flush argument in CreateCheckpoint API, the size of the archived log will not be included to avoid unnecessary flush * Fix a major bug in which an iterator using prefix filtering and SeekForPrev might miss data when the DB is using whole_key_filtering=false and partition_filters=true. * Fixed a bug where OnErrorRecoveryBegin() is not called before auto recovery starts. * Fixed a bug where event listener reads ErrorHandler's bg_error_ member without holding db mutex(#12803). * Fixed a bug in handling MANIFEST write error that caused the latest valid MANIFEST file to get deleted, resulting in the DB being unopenable. * Fixed a race between error recovery due to manifest sync or write failure and external SST file ingestion. Both attempt to write a new manifest file, which causes an assertion failure. OBS-URL: https://build.opensuse.org/package/show/server:database/rocksdb?expand=0&rev=51
21 lines
819 B
Diff
21 lines
819 B
Diff
Index: rocksdb-9.5.2/Makefile
|
|
===================================================================
|
|
--- rocksdb-9.5.2.orig/Makefile
|
|
+++ rocksdb-9.5.2/Makefile
|
|
@@ -811,9 +811,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)
|