mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Filer Store Replication (markdown)
parent
be867afac0
commit
88f2d09154
|
@ -1,7 +1,27 @@
|
|||
# Goal
|
||||
Here we talk about using `weed filer -peers=...`. It actually achieves two purposes:
|
||||
1. Aggregate filer meta data changes from peers
|
||||
2. Replay filer meta data changes to local filer store
|
||||
|
||||
* Synchronize the meta data in the filer stores.
|
||||
* Active-Active or one-directional replication.
|
||||
# FUSE mount with multiple filers
|
||||
|
||||
The first point is tightly related to FUSE Mount, which streams filer meta data changes from one filer.
|
||||
|
||||
So when using multiple filers, this `-peers=xxx` option is needed. If not, a FUSE mount can only see the changes applied to the connected filer. This is required whether the filers are using shared or dedicated filer stores.
|
||||
|
||||
```
|
||||
FUSE mount <----> filer1 -- filer2
|
||||
\ /
|
||||
\ /
|
||||
filer3
|
||||
```
|
||||
|
||||
# File Store Replication
|
||||
|
||||
The second point is about metadata replication.
|
||||
|
||||
This `-peers=xxx` can synchronize the meta data in the filer stores. If filers are using shared filer stores, this is optional.
|
||||
|
||||
It can also enables Active-Active or one-directional replication.
|
||||
|
||||
# Use Cases
|
||||
|
||||
|
|
Loading…
Reference in a new issue