Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
2.8.0
-
Security Level: Public
-
None
Description
The automatic conflict resolution with "conflict_resolution_type": "localWins" is not working as expected in a push replication configured for Inter-Sync gateway replication. The change in the local database is not getting pushed to the remote cluster.
Steps to reproduce the issue.
1. Configure the Push replication with conflict resolution type as localWins.
2. Create a document in source cluster
3. Once it got replicated, open the document in target cluster and make some modification.
4. Modify the document in the source cluster.
As per the documentation, the document will get rejected in the target SGW(passive replicator), but eventually will resolve it on the active(source replicator), and then subsequently push the resolved conflict back up. Since the resolution type is configured as localWins the change in the source cluster is expected to be replicated in the target cluster.
But that is not happening in my testing. The document is not replicating to the target and the conflict/failure count is increasing by one.
Here is the status with replication configuration
{
"config":
,
"doc_write_conflict": 5,
"doc_write_failures": 5,
"docs_checked_push": 13,
"docs_written": 6,
"last_seq_push": "13",
"replication_id": "******",
"status": "running"
}
Attachments
Issue Links
- relates to
-
DOC-8388 iSGR -- Auto conflict resolution not working for push replication
- Closed