aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCthulhu <the_ancient_one@aol.com>2022-04-25 16:48:03 +0300
committerCthulhu <the_ancient_one@aol.com>2022-04-25 16:48:03 +0300
commit23c4293f3b3c1d9dc77fb0bacd6260a4eba34195 (patch)
tree413475f6fc4f9e09a1897d783842fc346a4d3d85
parent41bd13f29545710870e5768702169a659a699303 (diff)
downloadydb-23c4293f3b3c1d9dc77fb0bacd6260a4eba34195.tar.gz
Fix failure on missing vslots after static group reconfiguration, YDBOPS-4256
ref:85ad974403aac4cd6109e868f5eefb4cd26854ba
-rw-r--r--ydb/core/mind/bscontroller/scrub.cpp4
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;