Hi all

I'm trying to figure out a way to know whether a document has been
effectively replicated (in continuous mode) to a remote CouchDB, with a
minimum of network requests.
My first idea would be to compare the date of the document creation /
modification against the date of the last successful replication . How do I
get the latter?

The _actve_tasks api gives me a updated_on value which seems to just be the
date the _active_tasks document was generated, but the rest of the doc
might indicate other things, like "that last replication didn't go so
well". There are also sequence numbers which look like they tell me the
last sequence that was succesfully replicated. I find the documentation
unclear about _active_tasks.

Has anyone done this before?

Cheers
Foucauld Degeorges

Reply via email to