Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions ydb/core/mind/bscontroller/self_heal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,28 @@ namespace NKikimr::NBsController {
*v, group.Topology, isSelfHealReasonDecommit, DonorMode));
} else {
++counter; // this group can't be reassigned right now

auto log = [&]() {
TStringStream ss;
ss << "[";
bool first = true;
for (const auto& [vdiskId, vdisk] : group.Content.VDisks) {
if (!std::exchange(first, false)) {
ss << ",";
}
ss << "{";
ss << vdiskId;
ss << (IsReady(vdisk, now) ? " Ready" : " NotReady");
ss << (vdisk.Faulty ? " Faulty" : "");
ss << (vdisk.Bad ? " IsBad" : "");
ss << (vdisk.Decommitted ? " Decommitted" : "");
ss << "}";
}
ss << "]";
return ss.Str();
};

STLOG(PRI_INFO, BS_SELFHEAL, BSSH11, "group can't be reassigned right now " << log(), (GroupId, group.GroupId));
}
}

Expand Down