aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Ivanov <eivanov89@yandex-team.ru>2022-04-01 13:10:55 +0300
committerEvgeniy Ivanov <eivanov89@yandex-team.ru>2022-04-01 13:10:55 +0300
commit0e85e9e3a7daeae8354364dff1241ed2511d1461 (patch)
tree1106a74cd9f55b2e210766d25aaf0137ba6258ce
parent652d6f141a99ac8a6ca8407225d86c9d648534b1 (diff)
downloadydb-0e85e9e3a7daeae8354364dff1241ed2511d1461.tar.gz
KIKIMR-9748: safer default background compaction config
ref:d226590883473a3f9c25a34cc9474e3e4e8ab528
-rw-r--r--ydb/core/protos/config.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/protos/config.proto b/ydb/core/protos/config.proto
index e386092b17..8d983795b2 100644
--- a/ydb/core/protos/config.proto
+++ b/ydb/core/protos/config.proto
@@ -1365,7 +1365,7 @@ message TCompactionConfig {
// compaction only after this amount of time
optional uint64 MinCompactionRepeatDelaySeconds = 5 [default = 600];
- optional uint32 SearchHeightThreshold = 6 [default = 10];
+ optional uint32 SearchHeightThreshold = 6 [default = 5];
// TODO: enable, when schemeshard receive proper stat
optional uint32 RowDeletesThreshold = 7 [default = 4294967295];
@@ -1391,7 +1391,7 @@ message TCompactionConfig {
// guarantee, that at least 1/3 unique shards will be compacted, the
// rest 2/3 can be shards compacted multiple times, i.e. all shards
// must be compacted within at most RoundSeconds*3.
- optional uint64 RoundSeconds = 9 [default = 86400];
+ optional uint64 RoundSeconds = 9 [default = 172800]; // 2 days
// Compact even if shard has single part and empty memtable
optional bool CompactSinglePartedShards = 10 [default = false];