File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -183,8 +183,9 @@ TInstant THive::GetAllowedBootingTime() {
183183 }
184184 TInstant result = LastConnect + MaxTimeBetweenConnects * std::max<i64 >(static_cast <i64 >(ExpectedNodes) - static_cast <i64 >(connectedNodes), 1 );
185185 if (connectedNodes < ExpectedNodes) {
186- result = std::max (result, StartTime () + GetMaxWarmUpPeriod ());
186+ result = std::max (result, StartTime () + GetWarmUpBootWaitingPeriod ());
187187 }
188+ result = std::min (result, StartTime () + GetMaxWarmUpPeriod ());
188189 return result;
189190}
190191
Original file line number Diff line number Diff line change @@ -1384,9 +1384,9 @@ message THiveConfig {
13841384 repeated NKikimrTabletBase.TTabletTypes.EType BalancerIgnoreTabletTypes = 49 ;
13851385 optional double SpaceUsagePenaltyThreshold = 53 [default = 1.1 ]; // number > 1
13861386 optional double SpaceUsagePenalty = 54 [default = 0.2 ]; // number <= 1
1387- optional uint64 WarmUpBootWaitingPeriod = 50 [default = 5000 ]; // milliseconds
1387+ optional uint64 WarmUpBootWaitingPeriod = 50 [default = 30000 ]; // milliseconds, time to wait for known nodes on cluster restart
13881388 optional uint64 NodeRestartsToIgnoreInWarmup = 51 [default = 10 ];
1389- optional double MaxWarmUpPeriod = 52 [default = 30 .0 ]; // seconds
1389+ optional double MaxWarmUpPeriod = 52 [default = 600 .0 ]; // seconds
13901390 optional bool WarmUpEnabled = 55 [default = true ];
13911391 optional uint64 EmergencyBalancerInflight = 56 [default = 1 ]; // tablets
13921392 optional uint64 MaxMovementsOnEmergencyBalancer = 57 [default = 2 ];
You can’t perform that action at this time.
0 commit comments