Hi, In CBL_Replicator.m file I stumbled on the next code:
if ($equal(remoteLastSequence, localLastSequence)) { _lastSequence = localLastSequence; if (!_lastSequence) { // Try to get the last sequence from the local checkpoint document // created only when importing a database. This allows the // replicator to continue replicating from the current local checkpoint // of the imported database after importing. _lastSequence = [self getLastSequenceFromLocalCheckpointDocument]; } LogTo(Sync, @"%@: Replicating from lastSequence=%@", self, _lastSequence); } else { LogTo(Sync, @"%@: lastSequence mismatch: I had %@, remote had %@ (response = %@)", self, localLastSequence, remoteLastSequence, response); } As I understand when we get different checkpoints we start replication from start. What if we take a minimum from local and remote sequence and start a replication from this value? Thank you! -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/b5efeaa8-199a-4920-a206-152227dfc0b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.