Skip to content

Commit

Permalink
Fix group resolver bug (#13282)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Jan 10, 2025
1 parent 77c1953 commit 6551911
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,12 @@ namespace NKikimr::NStorage {
if (const auto it = Groups.find(r.GetGroupId()); it != Groups.end() && it->second.Group) {
record.MutableGroup()->CopyFrom(*it->second.Group);
}
THashSet<TGroupId> groupsAdded;
for (const auto& [key, value] : LocalVDisks) {
if (const auto& r = value.RuntimeData; r && !r->DonorMode) {
record.AddStartedGroupIds(r->GroupInfo->GroupID.GetRawId());
if (const auto& groupId = r->GroupInfo->GroupID; groupsAdded.insert(groupId).second) {
record.AddStartedGroupIds(groupId.GetRawId());
}
}
}
Send(ev->Sender, res.release(), 0, ev->Cookie);
Expand Down

0 comments on commit 6551911

Please sign in to comment.