Synchronous multi-master replication library