mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
wdclient need to have ec shard info on initial dump
This commit is contained in:
parent
b58e25e588
commit
ac14cd5ad0
|
@ -68,6 +68,9 @@ func (t *Topology) ToVolumeLocations() (volumeLocations []*master_pb.VolumeLocat
|
|||
for _, v := range dn.GetVolumes() {
|
||||
volumeLocation.NewVids = append(volumeLocation.NewVids, uint32(v.Id))
|
||||
}
|
||||
for _, s := range dn.GetEcShards() {
|
||||
volumeLocation.NewVids = append(volumeLocation.NewVids, uint32(s.VolumeId))
|
||||
}
|
||||
volumeLocations = append(volumeLocations, volumeLocation)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue