Skip to content

Commit d1d9725

Browse files
bobhan1morningman
authored andcommitted
[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.
1 parent f0fbd0b commit d1d9725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

be/src/common/config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ DEFINE_mBool(enable_update_delete_bitmap_kv_check_core, "false");
17111711
DEFINE_mBool(enable_fetch_rowsets_from_peer_replicas, "false");
17121712
// the max length of segments key bounds, in bytes
17131713
// ATTENTION: as long as this conf has ever been enabled, cluster downgrade and backup recovery will no longer be supported.
1714-
DEFINE_mInt32(segments_key_bounds_truncation_threshold, "-1");
1714+
DEFINE_mInt32(segments_key_bounds_truncation_threshold, "36");
17151715
// ATTENTION: for test only, use random segments key bounds truncation threshold every time
17161716
DEFINE_mBool(random_segments_key_bounds_truncation, "false");
17171717
// p0, daily, rqg, external

0 commit comments

Comments
 (0)