This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 464a727a991 [enhancement](config) Change
segments_key_bounds_truncation_threshold default to 36 (#61984)
464a727a991 is described below
commit 464a727a991341e59287c191711527995c7bb9da
Author: bobhan1 <[email protected]>
AuthorDate: Wed Apr 1 16:54:06 2026 +0800
[enhancement](config) Change segments_key_bounds_truncation_threshold
default to 36 (#61984)
Enable segments key bounds truncation by default with threshold 36 bytes to
reduce rowset metadata memory usage.
---
be/src/common/config.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 8fb76ab66ad..a3fe420125a 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -1711,7 +1711,7 @@ DEFINE_mBool(enable_update_delete_bitmap_kv_check_core,
"false");
DEFINE_mBool(enable_fetch_rowsets_from_peer_replicas, "false");
// the max length of segments key bounds, in bytes
// ATTENTION: as long as this conf has ever been enabled, cluster downgrade
and backup recovery will no longer be supported.
-DEFINE_mInt32(segments_key_bounds_truncation_threshold, "-1");
+DEFINE_mInt32(segments_key_bounds_truncation_threshold, "36");
// ATTENTION: for test only, use random segments key bounds truncation
threshold every time
DEFINE_mBool(random_segments_key_bounds_truncation, "false");
// p0, daily, rqg, external
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]