mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Replication (markdown)
parent
ab1de59945
commit
7fefeb6d08
|
@ -86,11 +86,11 @@ If one replica is missing, there are no automatic repair right away. This is to
|
|||
To repair the missing replicas, you can use `volume.fix.replication` in `weed shell`.
|
||||
|
||||
### Replicate without deleting
|
||||
In certain circumstances—like adding/removing/altering replication settings of volumes or servers—the best strategy is to only repair under-replicated volumes and not delete any while working on volume and server modifications, in this situation use the flag `noDelete`:
|
||||
In certain circumstances—like adding/removing/altering replication settings of volumes or servers—the best strategy is to only repair under-replicated volumes and not delete any while working on volume and server modifications, in this situation use the flag `doDelete`:
|
||||
|
||||
`volume.fix.replication -noDelete`
|
||||
`volume.fix.replication -doDelete=false`
|
||||
|
||||
After all replications and modifications are finished, desired replication consensus can then be obtained by running `volume.fix.replication` without the 'noDelete' flag.
|
||||
After all replications and modifications are finished, desired replication consensus can then be obtained by running `volume.fix.replication` without the 'doDelete' flag.
|
||||
|
||||
## Change replication
|
||||
|
||||
|
|
Loading…
Reference in a new issue