rocksdb/rocksdb-8.0.0-reproducible.patch

21 lines
819 B
Diff
Raw Normal View History

- 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 07:52:04 +01:00
Index: rocksdb-9.7.3/Makefile
===================================================================
--- 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
-# 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)