mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 13:31:27 +08:00
adjust help message
This commit is contained in:
parent
d01807ba05
commit
69b7dd398d
@ -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…
Reference in New Issue
Block a user