forked from pool/rocksdb
74b5153fa5
- 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
21 lines
819 B
Diff
21 lines
819 B
Diff
Index: rocksdb-8.5.3/Makefile
|
|
===================================================================
|
|
--- rocksdb-8.5.3.orig/Makefile
|
|
+++ rocksdb-8.5.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)
|