mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust ec shard status on disconnect
This commit is contained in:
parent
ac14cd5ad0
commit
92f9c7b1aa
|
@ -31,6 +31,9 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ
|
|||
for _, v := range dn.GetVolumes() {
|
||||
message.DeletedVids = append(message.DeletedVids, uint32(v.Id))
|
||||
}
|
||||
for _, s := range dn.GetEcShards() {
|
||||
message.DeletedVids = append(message.DeletedVids, uint32(s.VolumeId))
|
||||
}
|
||||
|
||||
if len(message.DeletedVids) > 0 {
|
||||
ms.clientChansLock.RLock()
|
||||
|
|
Loading…
Reference in a new issue