diff options
author | Cthulhu <the_ancient_one@aol.com> | 2022-04-25 16:48:03 +0300 |
---|---|---|
committer | Cthulhu <the_ancient_one@aol.com> | 2022-04-25 16:48:03 +0300 |
commit | 23c4293f3b3c1d9dc77fb0bacd6260a4eba34195 (patch) | |
tree | 413475f6fc4f9e09a1897d783842fc346a4d3d85 | |
parent | 41bd13f29545710870e5768702169a659a699303 (diff) | |
download | ydb-23c4293f3b3c1d9dc77fb0bacd6260a4eba34195.tar.gz |
Fix failure on missing vslots after static group reconfiguration, YDBOPS-4256
ref:85ad974403aac4cd6109e868f5eefb4cd26854ba
-rw-r--r-- | ydb/core/mind/bscontroller/scrub.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/mind/bscontroller/scrub.cpp b/ydb/core/mind/bscontroller/scrub.cpp index ad4a4aff91b..e37513bd1a4 100644 --- a/ydb/core/mind/bscontroller/scrub.cpp +++ b/ydb/core/mind/bscontroller/scrub.cpp @@ -320,7 +320,9 @@ public: } else if (const auto it = Self->StaticVSlots.find(vslotId); it != Self->StaticVSlots.end()) { vdiskId = it->second.VDiskId; } else { - Y_FAIL_S("unexpected VSlotId# " << vslotId); + STLOG(PRI_WARN, BS_CONTROLLER, BSC40, + "TBlobStorageController::TScrubState::TImpl::AddItem no VDiskId found for the slot", (VSlotId, vslotId)); + return; // To allow static group 'reconfiguration' instead of Y_FAIL_S("unexpected VSlotId# " << vslotId); } vdiskId.GroupGeneration = 0; |