Updated Filer Store Replication (markdown)

Chris Lu 2020-09-14 01:15:00 -07:00
parent 88f2d09154
commit 8357194726

@ -23,7 +23,7 @@ This `-peers=xxx` can synchronize the meta data in the filer stores. If filers a
It can also enables Active-Active or one-directional replication.
# Use Cases
## Use Cases
For filer stores using shared filer stores, such as shared Mysql/Postgres/Cassandra/Redis/ElasticSearch/etc in [[Filer-Stores]], this is not really needed, since all filers are stateless, and there are no need to replicate the meta data back to the same filer store.
@ -31,7 +31,7 @@ But if each filer has its own filer store, usually with the default local Leveld
Sometimes you may want to replicate the existing store to a new filer store, or move to a new filer store, this would also be useful.
# One-Directional Replication
### One-Directional Replication
When starting a filer, set the `-peers` option, to receive updates from the peers.
@ -41,7 +41,7 @@ Assuming there is a separate filer.toml for each filer, and a filer is already r
weed filer -port=8889 -peers=localhost:8888
```
# Active-Active Replication
### Active-Active Replication
```
weed filer -port=8888 -peers=localhost:8888,localhost:8889