File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -183,8 +183,9 @@ TInstant THive::GetAllowedBootingTime() {
183
183
}
184
184
TInstant result = LastConnect + MaxTimeBetweenConnects * std::max<i64>(static_cast <i64>(ExpectedNodes) - static_cast <i64>(connectedNodes), 1 );
185
185
if (connectedNodes < ExpectedNodes) {
186
- result = std::max (result, StartTime () + GetMaxWarmUpPeriod ());
186
+ result = std::max (result, StartTime () + GetWarmUpBootWaitingPeriod ());
187
187
}
188
+ result = std::min (result, StartTime () + GetMaxWarmUpPeriod ());
188
189
return result;
189
190
}
190
191
Original file line number Diff line number Diff line change @@ -1384,9 +1384,9 @@ message THiveConfig {
1384
1384
repeated NKikimrTabletBase.TTabletTypes.EType BalancerIgnoreTabletTypes = 49 ;
1385
1385
optional double SpaceUsagePenaltyThreshold = 53 [default = 1.1 ]; // number > 1
1386
1386
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
1388
1388
optional uint64 NodeRestartsToIgnoreInWarmup = 51 [default = 10 ];
1389
- optional double MaxWarmUpPeriod = 52 [default = 30 .0 ]; // seconds
1389
+ optional double MaxWarmUpPeriod = 52 [default = 600 .0 ]; // seconds
1390
1390
optional bool WarmUpEnabled = 55 [default = true ];
1391
1391
optional uint64 EmergencyBalancerInflight = 56 [default = 1 ]; // tablets
1392
1392
optional uint64 MaxMovementsOnEmergencyBalancer = 57 [default = 2 ];
You can’t perform that action at this time.
0 commit comments