Skip to content

Commit 42fe0df

Browse files
authored
stable-25-3-1: Toggle off hive warmup when Bridge mode is enabled (#25838)
2 parents 567b4a1 + fafc6ed commit 42fe0df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ydb/core/mind/hive/tx__load_everything.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,11 @@ class TTxLoadEverything : public TTransactionBase<THive> {
188188
if (Self->CurrentConfig.HasWarmUpEnabled()) {
189189
Self->WarmUp = Self->CurrentConfig.GetWarmUpEnabled();
190190
} else {
191-
Self->WarmUp = Self->CurrentConfig.GetWarmUpEnabled() && !Self->AreWeRootHive();
191+
if (IsBridgeMode(TActivationContext::AsActorContext())) {
192+
Self->WarmUp = false;
193+
} else {
194+
Self->WarmUp = Self->CurrentConfig.GetWarmUpEnabled() && !Self->AreWeRootHive();
195+
}
192196
}
193197

194198
Self->DefaultResourceMetricsAggregates.MaximumCPU.SetWindowSize(TDuration::MilliSeconds(Self->GetMetricsWindowSize()));

0 commit comments

Comments
 (0)