diff options
| author | chrislu <chris.lu@gmail.com> | 2023-02-22 10:47:52 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-02-22 10:47:52 -0800 |
| commit | 214b7cd286b9f4f15b5ca13d7827aa553a72c587 (patch) | |
| tree | 1edb738e78440ce402b5d902a4c80b2b080d2c47 | |
| parent | f45795694874c702695d7062691c09b62f07f47c (diff) | |
| download | seaweedfs-214b7cd286b9f4f15b5ca13d7827aa553a72c587.tar.xz seaweedfs-214b7cd286b9f4f15b5ca13d7827aa553a72c587.zip | |
volume.fix.replication: adjust the retry checking times
| -rw-r--r-- | weed/shell/command_volume_fix_replication.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go index 33a18d8ee..783b2cce8 100644 --- a/weed/shell/command_volume_fix_replication.go +++ b/weed/shell/command_volume_fix_replication.go @@ -58,7 +58,7 @@ func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv, c.collectionPattern = volFixReplicationCommand.String("collectionPattern", "", "match with wildcard characters '*' and '?'") skipChange := volFixReplicationCommand.Bool("n", false, "skip the changes") noDelete := volFixReplicationCommand.Bool("noDelete", false, "Do not delete over-replicated volumes, only fix under-replication") - retryCount := volFixReplicationCommand.Int("retry", 0, "how many times to retry") + retryCount := volFixReplicationCommand.Int("retry", 5, "how many times to retry") volumesPerStep := volFixReplicationCommand.Int("volumesPerStep", 0, "how many volumes to fix in one cycle") if err = volFixReplicationCommand.Parse(args); err != nil { |
