couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-664) Terminate running replication tasks
Date Tue, 23 Feb 2010 03:23:27 GMT

     [ 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.


Mime
View raw message