aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_balance.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-01 22:55:19 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-01 22:55:19 -0700
commit2ae9705442b513af60e26c786c612867ea36015d (patch)
tree5854a26e814264af9291ab093f325cb28823bd91 /weed/shell/command_volume_balance.go
parent3739717092ecec13f05a95c937beaa981681d1a2 (diff)
downloadseaweedfs-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.go2
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" {