apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.41k stars 1.31k forks source link

Support generic cross-DC replication plans #323

Open etschannen opened 6 years ago

etschannen commented 6 years ago

We need to change DatabaseConfiguration to allow specifying many more cross-DC replication plans. Some DCs may want synchronous replication, while others that are farther away may want async replication.

Affected code:

etschannen commented 6 years ago

moving to milestone 6.1, since the JSON changes were all that was needed for 6.0

etschannen commented 5 years ago

Synchronous replication should probably be implemented as satellite and remote tlogs in the same datacenter. We still want to use log router tags, because it will make tlog spilling much more efficient when the datacenter is down.