You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2010/02/23 04:23:27 UTC
[jira] Updated: (COUCHDB-664) Terminate running replication tasks
[ https://issues.apache.org/jira/browse/COUCHDB-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Newson updated COUCHDB-664:
----------------------------------
Attachment: 0001-add-ability-to-cancel-replication-tasks.patch
When POST'ing to _replicate, add "cancel":true to kill a currently running job;
curl -X POST http://localhost:5984/_replicate -d '{"source":"db1","target":"db2","continuous":true,"cancel":true}'
The server responds with 200 and the _local_id of the cancelled task.
{"ok":true,"_local_id":"56a810250d6aed082fa4aae1dc58fb6c"}
> Terminate running replication tasks
> -----------------------------------
>
> Key: COUCHDB-664
> URL: https://issues.apache.org/jira/browse/COUCHDB-664
> Project: CouchDB
> Issue Type: New Feature
> Components: Database Core
> Affects Versions: 0.11
> Reporter: Robert Newson
> Attachments: 0001-add-ability-to-cancel-replication-tasks.patch
>
>
> a patch to kill running replication tasks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.