Hi Olivier, I have seen large replications like that go slower than I'd like, but I haven't seen them "stall out" like that.
Can you please file a ticket here <https://github.com/couchbase/couchbase-lite-java-core/issues>? Also, it would be useful if you could install a network sniffing tool such as HTTPScoop <http://www.tuffcode.com/> to be able to look at the http traffic. (you will most likely need to configure it to listen on port 4984) On Wed, Jan 7, 2015 at 9:33 AM, Olivier Picciotto < [email protected]> wrote: > Hello > > > I have an Android Phonegap, application using CBlite based on > version 1.0.0-beta3rc10 (uses > the couchbase-lite-java-core-1.0.0-beta3rc10.jar) working perfectly with > replication with a CouchDB server 1.6.1. I am replicating from the server > about 6000 documents to the mobile starting from an empty database (Not > even created ) on the mobile . > > By looking to the CouchDB server console I can see all the requests the > client is doing to the server, As I can see, after issuing a long poll, the > client tries to download each document from the server, at regular > intervals, the client issues a PUT request. > > Now, Using latest 1.03 Version, I experience a weird behavior starting > from an empty database on the client side.: > > 1) Long poll is done, and documents start to be downloaded. > 2) No PUTs are done at regular intervals.. > 3) Downloading stops (Seems stalled) before having done all the 6000 > documents.. > 4) The only way to restart downloads is by killing the mobile app and > restarting it and in this case, downloads seems to start again at the > beginning > 5) After several mobile apps restarts, the 6000 documents are correctly > downloaded... > > I tested this same app on iOS using 1.03 and all is ok ... > > Any ideas about this behavior ? > > > > > -- > 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/3b64475a-fbd6-4651-9abb-55cdbce6e015%40googlegroups.com > <https://groups.google.com/d/msgid/mobile-couchbase/3b64475a-fbd6-4651-9abb-55cdbce6e015%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CACSSHCFjknmpamVO-ZSDHa40XNmhq_%2Bs7U5JM%3DB5_-BC2p%2BeZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
