We started tryouts with the CouchBase stack and a data collection app. Right from the start, we faced issues with missing documents in CouchBase Lite after the first synchronization/replication. We ended up fixing the problem, but a couple doubts still persist.
I understand that the _all_docs call will list all documents allocated to a channel. No doubts here. For the _changes call we have to consider that we have 3 databases:
- CouchBase Server
- CoucbBase Lite
The documentation says:
“This request retrieves a sorted list of changes made to documents in the database”
Which database are we talking about? What makes a document show in the _changes list?
Is there a way to know what changes have acctually been replicated to CouchBase Lite and what is still waiting for replication? The same question goes for CouchBase server.
Is there a way to see a list of documents which have not been replicated due to errors or conflicts?