Hi all,

I have 1 local PouchDB and 1 remote CouchDB (cluster mode).
As I wanted to prepare for conflicts and also monitor for them I did the
following test:
 - Pouch and Couch were in sync with few docs in the same DB.
 - stopped the connection between Pouch and Couch on network level.
 - modified a doc in Pouch
 - modified the same doc on Couch
 - restored connectivity
 - Expected Behavior: conflict
 - Observed behavior: Couch version of the doc overwrote the Pouch version.

Read the documentation  here:
https://pouchdb.com/guides/replication.html
and here
https://pouchdb.com/guides/conflicts.htm
<https://pouchdb.com/guides/conflicts.html>

but it doesn't seem to discuss this case.

What is the designed behavior?
Thanks in advance!

Kiril.

Reply via email to