[ 
https://issues.apache.org/jira/browse/COUCHDB-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837116#action_12837116
 ] 

Jan Lehnardt commented on COUCHDB-664:
--------------------------------------

Two more things: 

terminate_child/2 might return an error e.g. if the replication did terminate 
in the meantime (see 
http://erldocs.com/R13B03/stdlib/supervisor.html?search=superv&i=1#terminate_child/2).
 We should handle that gracefully and return a 404.

If we can have a small test (etap or JS is fine by me, etap might be easier), 
I'd propose this for 0.11.

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

Reply via email to