Open zalseryani opened 6 months ago
We do not support synchronous replication.
During DR, follower stats can give you the last tracked leaderCheckpoint
& followerCheckpoint
but 1) it tracks changes at shard level whereas user is concerned about REST API level. 2) Checkpoint doesn't tell you the total data replicated in terms on time but rather as a monotonically increasing integer value.
CCR provides 1 min SLA for replication and usually is under 20 seconds. But its hard to guarantee this as a lot depends on the workload and overall resource consumption.
Replication Failover on Production Outage has Data Gap
When configuring replication between Prod and DR sites of opensearch, and we have an outage on Production, there will be some data that are not synced to DR opensearch.
What is the proper solution for such case?
Is there any other better way to handle/configure synchronous replication between opensearch Prod and opensearch DR sites, something like 2 phase commit, meaning data will not be written/committed on Prod unless it is written on DR site ?
Kindly advise, and thanks in advance for your time and support.