Browse Source

adjust help message

pull/991/head
Chris Lu 6 years ago
parent
commit
69b7dd398d
  1. 7
      weed/shell/command_volume_balance.go

7
weed/shell/command_volume_balance.go

@ -27,18 +27,15 @@ func (c *commandVolumeBalance) Name() string {
func (c *commandVolumeBalance) Help() string {
return `balance all volumes among volume servers
volume.balance [-c collectionName] [-f]
volume.balance [-c ALL|EACH_COLLECTION|<collection_name>] [-f] [-dataCenter=<data_center_name>]
Algorithm:
For each type of volume server (different max volume count limit){
for each collection {
balanceWritableVolumes()
balanceReadOnlyVolumes()
}
for all volumes {
balanceWritableVolumes()
balanceReadOnlyVolumes()
}
}
func balanceWritableVolumes(){

Loading…
Cancel
Save