Skip to content

Commit 64fee69

Browse files
authored
Fix bug in BSC console interaction code (#14879)
1 parent dec869f commit 64fee69

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ydb/core/mind/bscontroller/bsc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void TBlobStorageController::Handle(TEvNodeWardenStorageConfig::TPtr ev) {
172172
}
173173

174174
ConsoleInteraction->Stop(); // distconf will handle the Console from now on
175-
} else {
175+
} else if (Loaded) {
176176
ConsoleInteraction->Start(); // we control the Console now
177177
}
178178

ydb/core/mind/bscontroller/load_everything.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "impl.h"
2+
#include "console_interaction.h"
23

34
#include <ydb/library/yaml_config/yaml_config.h>
45

@@ -525,6 +526,9 @@ class TBlobStorageController::TTxLoadEverything : public TTransactionBase<TBlobS
525526
void Complete(const TActorContext&) override {
526527
STLOG(PRI_DEBUG, BS_CONTROLLER, BSCTXLE03, "TTxLoadEverything Complete");
527528
Self->LoadFinished();
529+
if (!Self->SelfManagementEnabled) {
530+
Self->ConsoleInteraction->Start();
531+
}
528532
STLOG(PRI_DEBUG, BS_CONTROLLER, BSCTXLE04, "TTxLoadEverything InitQueue processed");
529533
}
530534
};

0 commit comments

Comments
 (0)