From 84e9b6ee2dc0318a8d09b5a7dd337880ebc80e92 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 25 Jul 2022 17:38:39 -0700 Subject: [PATCH] full_history_ts_low should be const (#10411) Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/10411 Reviewed By: jay-zhuang Differential Revision: D38131644 Pulled By: riversand963 fbshipit-source-id: d241521dccff1ab8882ae0726ec368f84b7e8311 --- include/rocksdb/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index 321e4f8e4..7a58c1c09 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -1865,7 +1865,7 @@ struct CompactRangeOptions { uint32_t max_subcompactions = 0; // Set user-defined timestamp low bound, the data with older timestamp than // low bound maybe GCed by compaction. Default: nullptr - Slice* full_history_ts_low = nullptr; + const Slice* full_history_ts_low = nullptr; // Allows cancellation of an in-progress manual compaction. //