You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by thsteinbock <th...@web.de> on 2011/04/04 23:25:25 UTC

continuous replication

Hi,

is it possible to explain:
http://wiki.apache.org/couchdb/Replication#Cancelling_a_continuous_replication_task
a bit more in detail; does

http://... "continuous":true, "cancel":true }
mean something like

stop -->  start

continuous replication (cr) or just

stop

a running cr process?
What happens if I trigger cr more than ones (e.g. every day without testing for already running cr) ?

Thank you
regards
wactbprot


Re: continuous replication

Posted by Randall Leeds <ra...@gmail.com>.
On Mon, Apr 4, 2011 at 14:25, thsteinbock <th...@web.de> wrote:
> Hi,
>
> is it possible to explain:
> http://wiki.apache.org/couchdb/Replication#Cancelling_a_continuous_replication_task
> a bit more in detail; does
>
> http://... "continuous":true, "cancel":true }
> mean something like
>
> stop -->  start
>
> continuous replication (cr) or just
>
> stop

with {"cancel": true} it will just stop.

>
> a running cr process?
> What happens if I trigger cr more than ones (e.g. every day without testing
> for already running cr) ?

If the filters/hosts/etc are the same then it has no effect. The old
replication continues.
I use scripts to ensure my CR is always running this way.