Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
Mobile 2.8
Description
Automatic conflict resolution not working for push replication in Inter-Sync Gateway replication
The conflict resolution in ISGR is consistent with how Couchbase Lite 2.x handles conflicts (resolve on pull only - CBL is the active peer). Some more detail here: https://blog.couchbase.com/document-conflicts-couchbase-mobile/
Recommended approach here, if you don't want pushAndPull, is to change the replicator to run on the other side, flip the direction and conflict resolution policy to RemoteWins.
Implementing conflict resolution on push-only is problematic in a couple of ways:
- If we assume you write the resolved conflict to both active and passive sides, you're kind of violating the "push only" guarantee of the replicator.
- If you don't write the resolved conflict to the active side, and only push it back to the passive, you end up with conflicts every time that doc is updated on the active. Because it has no idea about the new revision the passive side got.
Attachments
Issue Links
- relates to
-
CBG-1377 Automatic conflict resolution not working for push replication in Inter-Sync Gateway replication
- Closed