aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzalyalov <zalyalov@yandex-team.com>2023-08-02 18:27:41 +0300
committerzalyalov <zalyalov@yandex-team.com>2023-08-02 18:27:41 +0300
commit394bafb289af5d340466c41bdaf00803f6b7f598 (patch)
tree152d7e2ce6e0ca70dee4c4067d1b4174280ce3d9
parentb38f6372c7c647fbb80ca490ffb22ccf0d382f38 (diff)
downloadydb-394bafb289af5d340466c41bdaf00803f6b7f598.tar.gz
revert hive warmup
Revert "enable hive warmup by default" This reverts commit 5bb843f48f8c6c8181b6885c6b60305b2d6544ff, reversing changes made to 8a73751a25a7c04af1d8bd24f098f673b0fe4e4d.
-rw-r--r--ydb/core/mind/hive/hive_ut.cpp2
-rw-r--r--ydb/core/protos/config.proto4
2 files changed, 3 insertions, 3 deletions
diff --git a/ydb/core/mind/hive/hive_ut.cpp b/ydb/core/mind/hive/hive_ut.cpp
index 8e384ddd798..e7ab304865c 100644
--- a/ydb/core/mind/hive/hive_ut.cpp
+++ b/ydb/core/mind/hive/hive_ut.cpp
@@ -1696,7 +1696,7 @@ Y_UNIT_TEST_SUITE(THiveTest) {
UNIT_ASSERT(createTabletReply->Record.HasForwardRequest());
UNIT_ASSERT_VALUES_EQUAL(createTabletReply->Record.GetForwardRequest().GetHiveTabletId(), subHiveTablet);
- }, Max<ui32>(), Max<ui64>(), 1, 2);
+ });
}
Y_UNIT_TEST(TestCreateAndDeleteTabletWithStoragePoolsReboots) {
diff --git a/ydb/core/protos/config.proto b/ydb/core/protos/config.proto
index 8625b661c10..9b3e07341a4 100644
--- a/ydb/core/protos/config.proto
+++ b/ydb/core/protos/config.proto
@@ -1680,10 +1680,10 @@ message THiveConfig {
repeated NKikimrTabletBase.TTabletTypes.EType BalancerIgnoreTabletTypes = 49;
optional double SpaceUsagePenaltyThreshold = 53 [default = 1.1]; // number > 1
optional double SpaceUsagePenalty = 54 [default = 0.2]; // number <= 1
- optional uint64 WarmUpBootWaitingPeriod = 50 [default = 5000]; // milliseconds
+ optional uint64 WarmUpBootWaitingPeriod = 50 [default = 1500]; // milliseconds
optional uint64 NodeRestartsToIgnoreInWarmup = 51 [default = 10];
optional double MaxWarmUpPeriod = 52 [default = 30.0]; // seconds
- optional bool WarmUpEnabled = 55 [default = true];
+ optional bool WarmUpEnabled = 55 [default = false];
optional uint64 EmergencyBalancerInflight = 56 [default = 1]; // tablets
optional uint64 MaxMovementsOnEmergencyBalancer = 57 [default = 2];
optional bool ContinueEmergencyBalancer = 58 [default = true];