> On Nov 11, 2014, at 1:04 PM, Dominique Legault <[email protected]> wrote:
> 
> How can it go back to 2 / 2 changes once it has hit 2 / 3 changes ? 
> The changes feed for documents only sends data when it changes, the 
> active_tasks is different in that it sends data continuously.

These sound like Android specific issues; hopefully Traun can respond to them. 
It definitely shouldn't be sending changes constantly.

> How do I detect the various different states that the replication is in with 
> the active_tasks API ?

By looking at the "status" string — it'll be either "Stopped", "Offline", 
"Idle", or "Processed %u / %u changes".
Not the cleanest API … it's based on CouchDB's REST API. It may be that CouchDB 
has added some more properties since I last looked, though.

> How do I know if a change has completed ?

Not sure what you mean. How to tell when a local change has been pushed to the 
server? That would require the "update_seq" property which we don't provide 
yet, as discussed here yesterday (was it a different thread?)

—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/19083318-2E92-4138-A321-AA1D3134E330%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to