Skip to content

Commit

Permalink
Fix bug in BSC console interaction code (#14879)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Feb 21, 2025
1 parent dec869f commit 64fee69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/mind/bscontroller/bsc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void TBlobStorageController::Handle(TEvNodeWardenStorageConfig::TPtr ev) {
}

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

Expand Down
4 changes: 4 additions & 0 deletions ydb/core/mind/bscontroller/load_everything.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "impl.h"
#include "console_interaction.h"

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

Expand Down Expand Up @@ -525,6 +526,9 @@ class TBlobStorageController::TTxLoadEverything : public TTransactionBase<TBlobS
void Complete(const TActorContext&) override {
STLOG(PRI_DEBUG, BS_CONTROLLER, BSCTXLE03, "TTxLoadEverything Complete");
Self->LoadFinished();
if (!Self->SelfManagementEnabled) {
Self->ConsoleInteraction->Start();
}
STLOG(PRI_DEBUG, BS_CONTROLLER, BSCTXLE04, "TTxLoadEverything InitQueue processed");
}
};
Expand Down

0 comments on commit 64fee69

Please sign in to comment.