I'm a bit confused by your subject (mentions non-continuous) and the email body (mentions continuous replication).

Here is a method for cancelling continuous replication, using curl as an example...


curl -X POST http://192.168.1.232:5984/_replicate -H "Content-Type: application/json" -d '{"cancel":true, "source":"http://sourceIP:5984/dbName","target":"http://destIP:5984/dbName","continuous":true}'

...where sourceIP and destIP can be an IP number or hostname, provided that they match exactly what you see in Futon's status page.

Tim


On 15-04-20 01:38 PM, Roger Sindreu wrote:
Hi

We have looked at the documentation and we have seen ways to cancel
continuous replication by removing the documents in the database.

My question is how to cancel a replication if there is no document in the
_replication database?

We are in 1.6.1 and the replication never ends for some reason (which we
would like to solve BTW).

Thanks.


--
Tim Forbes
tf(at)greenbullfrog(dot)com

Reply via email to