On Jul 5, 2014, at 4:36 AM, Daniel Carr <
d.dougl...@gmail.com> wrote:
> I'm setting up a inital replication, and want to monitor whether it exits with an error or whether it completes.
> However, if I trigger an error it disappears from _active_tasks, just like if it completed. (I've seen this happen with continuous replications as well)
If it’s a non-continuous replication, the response status of the POST to _replicate will indicate the error, if any.
If it’s continuous, the POST returns immediately, but the replication should remain in _active_tasks indefinitely; if not, that’s a bug.
(What platform are you running on? It’s always good to state that up front.)
> In couchDB, you can GET /_replicator/:session_id. Is there something similar in couchbase-lite?
No, that’s part of the persistent-replication API. We used to support persistent replications, but took them out because they aren’t needed in an embedded engine, and supporting them added a lot of complexity.
—Jens