Updated Replication (markdown)

Konstantin Lebedev 2023-09-27 11:43:05 +05:00
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