Hi Jens,

do you know if is possible to get more information about the status of the 
replication using the REST API?

Currently retrieving the active tasks (GET /_active_tasks) only gives 
something like:

{
 continuous: true
 source: "mydb"
 status: "Idle"
 target: "http://server.local/mydb";
 task: "repl002"
 type: "Replication" 
}


It'd be very helpful to get the timestamp of the last status change.
It's impossible to know if my local changes have been replicated already to 
the server as I don't know if the status "Idle" happened before or after I 
made those changes.

Maybe we could have the last Source sequence ID (Checkpoint) from the 
replication in the active tasks object.

What do you think?

Juan

On Monday, 10 November 2014 17:56:16 UTC, Jens Alfke wrote:
>
>
> On Nov 5, 2014, at 3:19 PM, Dominique Legault <[email protected] 
> <javascript:>> wrote:
>
> How could this be achieved using the phonegap app ?
>
>
> GET /_active_tasks to find the status of the replication.
>
> —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/a10d7cd1-b2fa-42f9-a1fb-8f1b8b72a2a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to