diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-01 22:55:19 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-01 22:55:19 -0700 |
| commit | 2ae9705442b513af60e26c786c612867ea36015d (patch) | |
| tree | 5854a26e814264af9291ab093f325cb28823bd91 /weed/shell/command_volume_balance.go | |
| parent | 3739717092ecec13f05a95c937beaa981681d1a2 (diff) | |
| download | seaweedfs-2ae9705442b513af60e26c786c612867ea36015d.tar.xz seaweedfs-2ae9705442b513af60e26c786c612867ea36015d.zip | |
adjust text
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" { |
