summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Rutkovsky <[email protected]>2025-04-30 22:08:04 +0300
committerGitHub <[email protected]>2025-04-30 19:08:04 +0000
commitae94de2b7e365965e9ef3fe9f18f646fb88664f9 (patch)
treeafbbd9071647213cadeb1eebec2a65696e9a732d
parent2366d5d18cda1a1e0d06e5f87d251c771509b1b1 (diff)
Fix SSId issue in domains config (#17934)
-rw-r--r--ydb/core/blobstorage/nodewarden/node_warden_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/blobstorage/nodewarden/node_warden_impl.cpp b/ydb/core/blobstorage/nodewarden/node_warden_impl.cpp
index 81c3353baae..d8a87bc1fde 100644
--- a/ydb/core/blobstorage/nodewarden/node_warden_impl.cpp
+++ b/ydb/core/blobstorage/nodewarden/node_warden_impl.cpp
@@ -1528,7 +1528,7 @@ bool NKikimr::NStorage::DeriveStorageConfig(const NKikimrConfig::TAppConfig& app
// find state storage setup for that domain
for (const auto& ss : domains.GetStateStorage()) {
- if (domain.SSIdSize() == 1 && ss.GetSSId() == domain.GetSSId(0)) {
+ if (domain.SSIdSize() == 0 || (domain.SSIdSize() == 1 && ss.GetSSId() == domain.GetSSId(0))) {
const bool hadStateStorageConfig = config->HasStateStorageConfig();
const bool hadStateStorageBoardConfig = config->HasStateStorageBoardConfig();
const bool hadSchemeBoardConfig = config->HasSchemeBoardConfig();