diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-01 22:53:50 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-01 22:53:50 -0700 |
| commit | f690643b47654b3220b71bd3bfa839a2d1b365d3 (patch) | |
| tree | 32cd977e6aa91cb904de59b3d7b9884cbecfbb4a /weed/shell/command_volume_balance.go | |
| parent | 6de786185d6c02046d28daf6bbeb2cef7798241e (diff) | |
| download | seaweedfs-f690643b47654b3220b71bd3bfa839a2d1b365d3.tar.xz seaweedfs-f690643b47654b3220b71bd3bfa839a2d1b365d3.zip | |
adds a test
Diffstat (limited to 'weed/shell/command_volume_balance.go')
| -rw-r--r-- | weed/shell/command_volume_balance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_balance.go b/weed/shell/command_volume_balance.go index 06a5ebc92..6da128c68 100644 --- a/weed/shell/command_volume_balance.go +++ b/weed/shell/command_volume_balance.go @@ -120,7 +120,7 @@ func balanceVolumeServers(commandEnv *CommandEnv, diskTypes []types.DiskType, vo func balanceVolumeServersByDiskType(commandEnv *CommandEnv, diskType types.DiskType, volumeReplicas map[uint32][]*VolumeReplica, nodes []*Node, volumeSizeLimit uint64, collection string, applyBalancing bool) error { - // balance readable volumes + // balance read only volumes for _, n := range nodes { n.selectVolumes(func(v *master_pb.VolumeInformationMessage) bool { if collection != "ALL_COLLECTIONS" { |
