Hello,
I hoping this topic has not been created before, but I could not find one.
I’m using Couchbase Lite 3.0 for Android and I’m running into an issue, where a document is locally created without errors but it’s never replicated.
I’m using continuous mode and PUSH only configuration.
And I only reproduce this issue when changing network from 4G or 3G to wifi during replication.
In the DocumentReplicationListener, I managed to add some logs and the following documentId is actually returned in the pendingDocumentIds : fd052b01-44ec-4426-896d-cbb17b79802c
But it never gets replicated as they were no success or error for this document, and it does not exists on the cluster after the replication.
CREATE ATTACHMENT SUCCESS => ATTACHMENT DOC ID => ea8b5aea-7eb3-4dff-ab8e-48103b36d595
CREATE ATTACHMENT SUCCESS => ATTACHMENT DOC ID => fd052b01-44ec-4426-896d-cbb17b79802c
CREATE ATTACHMENT SUCCESS => ATTACHMENT DOC ID => 2f01c46f-1306-49ff-8d79-1bc6327e9285
CREATE ATTACHMENT SUCCESS => ATTACHMENT DOC ID => fe56b229-53a2-420c-81e6-e30993966590
CREATE ATTACHMENT SUCCESS => ATTACHMENT DOC ID => de03d0fe-658b-4114-96d4-8ca4d28d26fd
CREATE FORM SUCCESS => DOC ID => 74158f64-a2ff-4f78-88e3-7fe132026776
REPLICATOR PENDING DOCUMENT IDS => [ea8b5aea-7eb3-4dff-ab8e-48103b36d595, fd052b01-44ec-4426-896d-cbb17b79802c, fe56b229-53a2-420c-81e6-e30993966590, 2f01c46f-1306-49ff-8d79-1bc6327e9285, de03d0fe-658b-4114-96d4-8ca4d28d26fd]
REPLICATION SUCCESS => DOCUMENT ID => 74158f64-a2ff-4f78-88e3-7fe132026776
REPLICATOR PENDING DOCUMENT IDS => [fd052b01-44ec-4426-896d-cbb17b79802c, fe56b229-53a2-420c-81e6-e30993966590, 2f01c46f-1306-49ff-8d79-1bc6327e9285, de03d0fe-658b-4114-96d4-8ca4d28d26fd]
REPLICATION SUCCESS => DOCUMENT ID => ea8b5aea-7eb3-4dff-ab8e-48103b36d595
REPLICATOR PENDING DOCUMENT IDS => [2f01c46f-1306-49ff-8d79-1bc6327e9285, de03d0fe-658b-4114-96d4-8ca4d28d26fd]
REPLICATION SUCCESS => DOCUMENT ID => fe56b229-53a2-420c-81e6-e30993966590
REPLICATOR PENDING DOCUMENT IDS => []
REPLICATION SUCCESS => DOCUMENT ID => de03d0fe-658b-4114-96d4-8ca4d28d26fd
REPLICATION SUCCESS => DOCUMENT ID => 2f01c46f-1306-49ff-8d79-1bc6327e9285
I’m hoping someone can help, I can’t manage to understand why this is happening.
Thank you in advance.