After upgrading couchbase-lite-android to v1.0.3.1, the replication status 
for a continuous pull replication is always active even though 
replication.getChangesCount() == replication.getCompletedChangesCount().

When I switch back to couchbase-lite-android v1.0.2, the replication status 
will change to idle.


Version Info:
Couchbase Lite Android v1.0.3.1
Couchbase Sync Gateway/1.0.2-9(commit 95ef60ab)


DDMS Logs:

10-27 16:02:12.661  25800-25851/ D/Sync﹕ entered the RUNNING state, calling 
start()
10-27 16:02:13.272  25800-25800/ W/IInputConnectionWrapper﹕ getSelectedText 
on inactive InputConnection
10-27 16:02:13.272  25800-25800/ W/IInputConnectionWrapper﹕ 
setComposingText on inactive InputConnection
10-27 16:02:13.282  25800-25851/ D/Sync﹕ called start(), calling 
notifyChangeListenersStateTransition
10-27 16:02:13.282  25800-25851/ D/Sync﹕ called 
notifyChangeListenersStateTransition
10-27 16:02:13.282  25800-25851/ D/Sync﹕ entered the RUNNING state, calling 
start()
10-27 16:02:13.302  25800-25851/ D/Sync﹕ called start(), calling 
notifyChangeListenersStateTransition
10-27 16:02:13.302  25800-25851/ D/Sync﹕ called 
notifyChangeListenersStateTransition
10-27 16:02:13.492  25800-26052/ D/Sync﹕ %s: return false
10-27 16:02:13.492  25800-26052/ D/Sync﹕ startReplicating()
10-27 16:02:13.492  25800-26050/ D/Sync﹕ %s: return false
10-27 16:02:13.492  25800-26050/ W/Sync﹕ Error converting lastSequence: 
null to long.  Using 0
10-27 16:02:13.502  25800-26052/ W/Sync﹕ 
com.couchbase.lite.replicator.PullerInternal@42b572d8: starting 
ChangeTracker with since=null mode=OneShot
10-27 16:02:13.502  25800-26052/ W/Sync﹕ 
com.couchbase.lite.replicator.PullerInternal@42b572d8: started 
ChangeTracker com.couchbase.lite.replicator.ChangeTracker@42adc0b8
10-27 16:02:13.532  25800-26073/ D/Sync﹕ batcher.waitForPendingFutures()
10-27 16:02:14.243  25800-25851/ W/Sync﹕ 
com.couchbase.lite.replicator.PullerInternal@42b572d8: Received invalid doc 
ID from _changes: {seq=2457, id=_user/53c58a8b-6e7c-4fe8-8f57-e6e28b8f2391, 
changes=[]}
10-27 16:02:14.253  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:14.253  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:14.253  25800-25851/ D/Sync﹕ processInbox called
10-27 16:02:14.283  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:14.453  25800-25851/ D/Sync﹕ changeTrackerCaughtUp
10-27 16:02:14.483  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:14.483  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42a9db68: processNow() called
10-27 16:02:14.483  25800-25851/ I/Sync﹕ 
com.couchbase.lite.replicator.PullerInternal@42b572d8 inserting 1 
revisions...
10-27 16:02:14.633  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:14.923  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:14.923  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:14.943  25800-25851/ D/Sync﹕ processInbox called
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called, but inbox 
is empty
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called, but inbox 
is empty
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called, but inbox 
is empty
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called, but inbox 
is empty
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
starting
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called
10-27 16:02:15.454  25800-25851/ V/Sync﹕ 
com.couchbase.lite.support.Batcher@42ad8800: processNow() called, but inbox 
is empty
10-27 16:02:15.454  25800-25851/ D/Sync﹕ processNowRunnable.run() method 
finished
…
10-27 16:02:20.298  25800-25851/ I/MyApplication﹕changesCount: 87 
completedChangesCount: 87 with status: REPLICATION_ACTIVE


Is anyone else having this issue?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/102fbce4-75e5-4031-9286-e349c799f815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to