diff options
author | Evgeniy Ivanov <eivanov89@yandex-team.ru> | 2022-04-18 18:40:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-04-18 18:40:13 +0300 |
commit | 7bd75245f7ff09f6ae1ff665d3d40456a6ad96f7 (patch) | |
tree | 426b54632639bd274b9c67f5add06df21f1a543d | |
parent | 772bd26d87ca4654c6463b2b536bb76f12a38007 (diff) | |
download | ydb-7bd75245f7ff09f6ae1ff665d3d40456a6ad96f7.tar.gz |
KIKIMR-9748: safer default background compaction config
REVIEW: 2430889
x-ydb-stable-ref: 90bd4cc9a33a75d2911d1585292fa873a291ac8e
-rw-r--r-- | ydb/core/protos/config.proto | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/protos/config.proto b/ydb/core/protos/config.proto index 374f94e864..06fdacdcbf 100644 --- a/ydb/core/protos/config.proto +++ b/ydb/core/protos/config.proto @@ -1338,7 +1338,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]; @@ -1364,7 +1364,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]; |