1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-16 15:41:03 +02:00
seaweedfs/weed/replication/sink/filersink
Konstantin Lebedev 4d08393b7c
filer prefer volume server in same data center (#3405)
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404

* GetDataCenter

* prefer same data center for ReplicationSource

* GetDataCenterId

* remove glog
2022-08-04 17:35:00 -07:00
..
fetch_write.go filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
filer_sink.go filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
README.txt filer: support active<=>active filer replication 2020-06-30 22:53:57 -07:00

How replication works
======

All metadata changes within current cluster would be notified to a message queue.

If the meta data change is from other clusters, this metadata would change would not be notified to the message queue.

So active<=>active replication is possible.


All metadata changes would be published as metadata changes.
So all mounts listening for metadata changes will get updated.