mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-05 19:47:47 +01:00
adjusting refresh topology writable volumes(not finished yet)
Need to refreshWritableVolumes for each replication type
This commit is contained in:
1 parent
6671f576cb
commit
b0e250d437
8 files changed
+44
-23
No files matched your search
@@ -44,7 +44,7 @@ func (vg *VolumeGrowth) GrowByType(repType storage.ReplicationType, topo *topolo
|
||||
case storage.Copy11:
|
||||
return vg.GrowByCountAndType(vg.copy3factor, repType, topo)
|
||||
}
|
||||
return 0, nil
|
||||
return 0, errors.New("Unknown Replication Type!")
|
||||
}
|
||||
func (vg *VolumeGrowth) GrowByCountAndType(count int, repType storage.ReplicationType, topo *topology.Topology) (counter int, err error) {
|
||||
counter = 0
|
||||
|
||||
Reference in new issue
Block a user