diff options
author | Cthulhu <cthulhu@yandex-team.ru> | 2022-06-06 14:41:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-06-06 14:41:18 +0300 |
commit | f486ffaca182b1543246816467f386d8d74866f9 (patch) | |
tree | e682ca7dbe736896dff4cc2be761154159d57c70 | |
parent | 7416eb983863de13a1d33443e98f4aaec39b6b03 (diff) | |
download | ydb-f486ffaca182b1543246816467f386d8d74866f9.tar.gz |
Fix failure on missing vslots after static group reconfiguration, YDBOPS-4256
REVIEW: 2493056
x-ydb-stable-ref: fdd68ed56ea83ac95ef37191dd0e6a70d0879474
-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 ad4a4aff91..e37513bd1a 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; |