Browse Source
[weed] update volume.fix.replication description (#7340)
* [weed] update volume.fix.replication description
* Update master-cloud.toml
* Update master.toml
pull/7355/head
nightcoffee
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
4 additions and
4 deletions
-
docker/compose/master-cloud.toml
-
weed/command/scaffold/master.toml
-
weed/shell/command_volume_fix_replication.go
|
|
@ -13,7 +13,7 @@ scripts = """ |
|
|
ec.rebuild -force |
|
|
ec.rebuild -force |
|
|
ec.balance -force |
|
|
ec.balance -force |
|
|
volume.balance -force |
|
|
volume.balance -force |
|
|
volume.fix.replication |
|
|
|
|
|
|
|
|
volume.fix.replication -force |
|
|
unlock |
|
|
unlock |
|
|
""" |
|
|
""" |
|
|
sleep_minutes = 17 # sleep minutes between each script execution |
|
|
sleep_minutes = 17 # sleep minutes between each script execution |
|
|
|
|
|
@ -13,7 +13,7 @@ scripts = """ |
|
|
ec.balance -force |
|
|
ec.balance -force |
|
|
volume.deleteEmpty -quietFor=24h -force |
|
|
volume.deleteEmpty -quietFor=24h -force |
|
|
volume.balance -force |
|
|
volume.balance -force |
|
|
volume.fix.replication |
|
|
|
|
|
|
|
|
volume.fix.replication -force |
|
|
s3.clean.uploads -timeAgo=24h |
|
|
s3.clean.uploads -timeAgo=24h |
|
|
unlock |
|
|
unlock |
|
|
""" |
|
|
""" |
|
|
|
|
|
@ -45,8 +45,8 @@ func (c *commandVolumeFixReplication) Help() string { |
|
|
This command also finds all under-replicated volumes, and finds volume servers with free slots. |
|
|
This command also finds all under-replicated volumes, and finds volume servers with free slots. |
|
|
If the free slots satisfy the replication requirement, the volume content is copied over and mounted. |
|
|
If the free slots satisfy the replication requirement, the volume content is copied over and mounted. |
|
|
|
|
|
|
|
|
volume.fix.replication -n # do not take action |
|
|
|
|
|
volume.fix.replication # actually deleting or copying the volume files and mount the volume |
|
|
|
|
|
|
|
|
volume.fix.replication # do not take action |
|
|
|
|
|
volume.fix.replication -force # actually deleting or copying the volume files and mount the volume |
|
|
volume.fix.replication -collectionPattern=important* # fix any collections with prefix "important" |
|
|
volume.fix.replication -collectionPattern=important* # fix any collections with prefix "important" |
|
|
|
|
|
|
|
|
Note: |
|
|
Note: |
|
|
|