Re: Expected behavior on conflict between PouchDB and CouchDB

2019-12-14 Thread Kiril Stankov
Thanks, Robert. We already figured how to list all conflicting docs in a DB with a view. Getting the last conflicting revision will also allow me to get the previous state before the conflict. Appreciating your help. Best, Kiril.

Re: Expected behavior on conflict between PouchDB and CouchDB

2019-12-14 Thread Robert Newson
The algorithm for choosing the winner is a little complicated and not really helpful to you here, though I'll describe it at the end anyway. What matters is that couchdb and pouchdb retain both versions of your document. Your application semantics determine what should happen once a document