diff options
author | zalyalov <zalyalov@yandex-team.com> | 2023-08-02 08:48:42 +0300 |
---|---|---|
committer | zalyalov <zalyalov@yandex-team.com> | 2023-08-02 08:48:42 +0300 |
commit | fa5486d422e6eb00eb59c8c8046a9e64ef858177 (patch) | |
tree | cc01ab86db1f579d0b26ac169f13a3b5793d5c08 | |
parent | 614c0ff5ae7554419a2df08ff34f43542bd348cb (diff) | |
download | ydb-fa5486d422e6eb00eb59c8c8046a9e64ef858177.tar.gz |
enable hive warmup by default
-rw-r--r-- | ydb/core/mind/hive/hive_ut.cpp | 2 | ||||
-rw-r--r-- | ydb/core/protos/config.proto | 4 |
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 e7ab304865..8e384ddd79 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 9b3e07341a..8625b661c1 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 = 1500]; // milliseconds + optional uint64 WarmUpBootWaitingPeriod = 50 [default = 5000]; // milliseconds optional uint64 NodeRestartsToIgnoreInWarmup = 51 [default = 10]; optional double MaxWarmUpPeriod = 52 [default = 30.0]; // seconds - optional bool WarmUpEnabled = 55 [default = false]; + optional bool WarmUpEnabled = 55 [default = true]; optional uint64 EmergencyBalancerInflight = 56 [default = 1]; // tablets optional uint64 MaxMovementsOnEmergencyBalancer = 57 [default = 2]; optional bool ContinueEmergencyBalancer = 58 [default = true]; |