Skip to content

Commit

Permalink
Fix SysView updates from BSC (#5156)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Jun 4, 2024
1 parent 6f0af7f commit 875d63c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/mind/bscontroller/register_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ void TBlobStorageController::OnWardenDisconnected(TNodeId nodeId, TActorId serve
.ReadySince = slot.ReadySince,
.VDiskStatus = slot.VDiskStatus,
});
SysViewChangedVSlots.insert(it->first);
}
if (!updates.empty()) {
Send(SelfHealId, new TEvControllerUpdateSelfHealInfo(std::move(updates)));
Expand Down
2 changes: 2 additions & 0 deletions ydb/core/mind/bscontroller/self_heal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,7 @@ namespace NKikimr::NBsController {
if (!was && slot->IsOperational() && !group->SeenOperational) {
groups.insert(const_cast<TGroupInfo*>(group));
}
SysViewChangedVSlots.insert(vslotId);
}
if (slot->Status == NKikimrBlobStorage::EVDiskStatus::READY) {
// we can release donor slots without further notice then the VDisk is completely replicated; we
Expand All @@ -1031,6 +1032,7 @@ namespace NKikimr::NBsController {
.ReadySince = vslot.ReadySince,
.VDiskStatus = vslot.VDiskStatus,
});
SysViewChangedVSlots.insert(vslotId);
}
}

Expand Down

0 comments on commit 875d63c

Please sign in to comment.