Sync Gateway 2.0 with CBL 1.4.1 and No Conflict Mode

Hi Team,

Is it possible to have no conflict mode on , using CBL 1.4.1 . What will app need to do will it need to resolve conflicts as soon as they appear on the app?

Does 2.0 no conflict mode also applicable for sync gateway to sync gateway replication.

Regards
Pankaj Sharma

Yes, as long as you’re running SG 2.0 which is compatible with CBL 1.4 https://developer.couchbase.com/documentation/mobile/1.5/installation/index.html

To detect the conflict, you could use the replication observer to monitor for 409 errors https://developer.couchbase.com/documentation/mobile/1.5/guides/couchbase-lite/native-api/replication/index.html#observing-and-monitoring-replications

And from there resolve the conflict on CBL https://developer.couchbase.com/documentation/mobile/1.5/guides/couchbase-lite/native-api/revision/index.html

Not sure about the impact in this scenario.