> On May 18, 2016, at 4:44 PM, David Quon <dav...@amcoonline.net> wrote: > > we either kill CouchDB or disconnect the Internet from the iPad. What we were > expecting to happen was to get an error from CBL replication to the effect of > connectivity was lost. However CBL seems to keep trying to replicate and > eventually gives the same status as a successful replication.
Is this a continuous replication or one-shot? If the server goes down, the _changes feed request will fail with a socket error. CBL treats this as a transient error and will retry. A one-shot replication will give up after a minute or so. A continuous replication will keep trying in case the server comes back up. If the device loses its network, the replication will go into the Offline state. IIRC a one-shot will stop, while a continuous replication will wait for the network to come back. 1.0.4 is really old and there have been lots of changes and bug fixes since then, but the above has always been the intended behavior. —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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/9CDC2642-FC33-469F-A678-EEA5AF98EA7F%40couchbase.com. For more options, visit https://groups.google.com/d/optout.