Yes in fact we are handling about 10k+ documents for any user, most of them 
with shared channels (Cities or Employees for example), other records are 
assigned by user and channel.

Good news (bad for me, my foul), the memory issue was "zombies" enabled in 
"run" schema.

If i whish to pause and resume replication, which would be the correct 
approach?

I've tried "_myPull.continuous=NO;" but the logs shows errors like: 

12:34:01.706‖ Replication: 
CBL_Puller[http://kratos.xserv.com:4984/xserv-mobile2] took 90.197 sec; 
error=(null)
12:34:02.510‖ Replication: 
CBL_Pusher[http://kratos.xserv.com:4984/xserv-mobile2] took 90.989 sec; 
error=(null)
12:34:03.819‖ CBLRemoteJSONRequest[PUT 
http://kratos.xserv.com:4984/xserv-mobile2/_local/3b9848f6a2f4f3cbb1c5fa62fc5a22bdda788d14]:
 
Got error Error Domain=CBLHTTP Code=404 "404 not_found" UserInfo=0x178696f0 
{NSURL=http://kratos.xserv.com:4984/xserv-mobile2/_local/3b9848f6a2f4f3cbb1c5fa62fc5a22bdda788d14,
 
NSLocalizedFailureReason=not_found, NSLocalizedDescription=404 not_found}
12:34:03.819‖  WARNING*** : 
CBL_Puller[http://kratos.xserv.com:4984/xserv-mobile2]: Unable to save 
remote checkpoint: Error Domain=CBLHTTP Code=404 "404 not_found" 
UserInfo=0x178696f0 
{NSURL=http://kratos.xserv.com:4984/xserv-mobile2/_local/3b9848f6a2f4f3cbb1c5fa62fc5a22bdda788d14,
 
NSLocalizedFailureReason=not_found, NSLocalizedDescription=404 not_found}
12:34:35.559‖ Replication: 
CBL_Pusher[http://kratos.xserv.com:4984/xserv-mobile2] took 33.037 sec; 
error=(null)

So i think i'm doing wrong..

El miércoles, 20 de agosto de 2014 11:59:33 UTC-5, Jens Alfke escribió:
>
>
> On Aug 20, 2014, at 9:35 AM, Frederic Yesid Peña Sánchez <
> [email protected] <javascript:>> wrote:
>
> 1. Sync all data (replicator ON)
> 2. Run al "preload" queries (replicator OFF)
> 3. Enable replicator again.
>
>
> Sounds reasonable.
>
> This assuming replications with massive queries (100+) would affect 
> concurrency on SQLite backend.
>
>
> Yes, this should only be necessary if you're fetching very large numbers 
> of documents.
>
> —Jens
>

-- 
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/ca616f8d-2fed-40c8-839b-d365dd24019d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to