Replication does not go trough all the way first time

32 views
Skip to first unread message

Anna

unread,
Mar 19, 2014, 11:03:42 AM3/19/14
to mobile-c...@googlegroups.com
I have a simple Android application that at the start is supposed to replicate data from the remote database. The problem is that somethings it works well and I get all the data at the first time when application is run and newly local databases are created, but sometimes without any changes in the code with the same condition that I run the application for the first time, the replication stuck and I do not get anything happening after this Logs:

03-19 15:41:16.977  13840-13840/sample.project.in D/Database﹕ Loading storage engine: com.couchbase.lite.android.AndroidSQLiteStorageEngine
03-19 15:41:16.977  13840-13840/sample.project.in V/TDCollateJSON﹕ SQLite3 handle is 2003825232
03-19 15:41:16.987  13840-13840/sample.project.in V/Database﹕ Puller@418909b0[https://---:---@randomname.iriscouch.com/anna_1] STARTING ...
03-19 15:41:16.987  13840-13840/sample.project.in D/Database﹕ Puller@418909b0[https://---:---@randoname.iriscouch.com/anna_1]|Thread[main,5,main]: fetchRemoteCheckpointDoc() calling asyncTaskStarted()
03-19 15:41:16.987  13840-13840/sample.project.in D/Database﹕ Puller@418909b0[https://---:---@randomname.iriscouch.com/anna_1]|Thread[main,5,main]: asyncTaskStarted() called, asyncTaskCount: 0
03-19 15:41:16.987  13840-13840/sample.project.in D/Database﹕ Puller@418909b0[https://---:---@randomname.iriscouch.com/anna_1] Progress: set active = true
03-19 15:41:16.987  13840-13840/sample.project.in D/Database﹕ asyncTaskStarted() updated asyncTaskCount to 1
03-19 15:41:16.997  13840-13840/sample.project.in V/Database﹕ Pusher@420919c8[https://---:---@randomname.iriscouch.com/anna_1] STARTING ...
03-19 15:41:16.997  13840-13840/sample.project.in D/Database﹕ Pusher@420919c8[https://---:---@randomname.iriscouch.com/anna_1]|Thread[main,5,main]: fetchRemoteCheckpointDoc() calling asyncTaskStarted()
03-19 15:41:16.997  13840-13840/sample.project.in D/Database﹕ Pusher@420919c8[https://---:---@randomname.iriscouch.com/anna_1]|Thread[main,5,main]: asyncTaskStarted() called, asyncTaskCount: 0
03-19 15:41:16.997  13840-13840/sample.project.in D/Database﹕ Pusher@420919c8[https://---:---@randomname.iriscouch.com/anna_1] Progress: set active = true
03-19 15:41:16.997  13840-13840/sample.project.in D/Database﹕ asyncTaskStarted() updated asyncTaskCount to 1

From CouchbaseLite sources I may suspect that it stucks in Replication - public void fetchRemoteCheckpointDoc() at sendAsyncRequest, but why it happens and what I have to do to be sure that the replication will always function and I could track its status?

Traun Leyden

unread,
Mar 19, 2014, 5:38:46 PM3/19/14
to mobile-c...@googlegroups.com
Thanks for reporting this.  I filed bug https://github.com/couchbase/couchbase-lite-java-core/issues/112 




--
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-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/b1e7c84a-0c42-446b-bc69-45e900e2bb94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages