diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-01 22:54:45 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-01 22:54:45 -0700 |
| commit | 3739717092ecec13f05a95c937beaa981681d1a2 (patch) | |
| tree | a7be5fcdf2767deb8182d51dedc74af21499153f /weed/shell/command_volume_balance.go | |
| parent | f690643b47654b3220b71bd3bfa839a2d1b365d3 (diff) | |
| download | seaweedfs-3739717092ecec13f05a95c937beaa981681d1a2.tar.xz seaweedfs-3739717092ecec13f05a95c937beaa981681d1a2.zip | |
Revert "adds a test"
This reverts commit f690643b47654b3220b71bd3bfa839a2d1b365d3.
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 6da128c68..06a5ebc92 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 read only volumes + // balance readable volumes for _, n := range nodes { n.selectVolumes(func(v *master_pb.VolumeInformationMessage) bool { if collection != "ALL_COLLECTIONS" { |
