Good afternoon,

I would like to ask you if I am working properly with replications.
My idea is to can start and stop the replication of Couchbase lite database 
with the one in the cloud in a asynchronous way (as there are already 
methods developed by CBL for this objective.

So this is the code I have having as CBLReplictaion pullReplication and 
pushReplication:

http://pastie.org/private/a35qxzxa8yba8rsuoeznq

    

The point is that the replication is done correctly, but I have observed 
that it's done quickly untill I get the following warning:

*2014-02-10 12:17:39.530 xxxx[9100:501b] -[CBL_FMDatabase 
executeUpdate:error:withArgumentsInArray:orVAList:]:757 Database busy 
(/Users/xxxxx/Library/Application 
Support/xxxxxx/CouchbaseLite/uid_52f206f367842.cblite)*

*2014-02-10 12:17:39.530 xxx[9100:501b] Database busy*

When this happens, the replication is stopped for a time. It can take the 
replication to resume maybe 1 minute or 2. Can I do something in order to 
wait less time.

For more information, I am moving moreless 35.000 documents with a total 
size of 25MB. 

Thanks a lot

-- 
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/0e7b8b35-7924-4094-8b03-b024e1d8842d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to