You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Egbert Teeselink (JIRA)" <ji...@apache.org> on 2011/04/01 13:47:05 UTC
[jira] [Created] (COUCHDB-1115) Added button to cancel continuous
replications
Added button to cancel continuous replications
----------------------------------------------
Key: COUCHDB-1115
URL: https://issues.apache.org/jira/browse/COUCHDB-1115
Project: CouchDB
Issue Type: Improvement
Components: Futon
Reporter: Egbert Teeselink
Priority: Minor
In response to a challenge from Jan Lehnart during the Berlin CouchDB training, I added a "cancel" link to the status page of Futon, so that running continuous replications can be cancelled.
It can only cancel "vanilla" continuous replications, so ones that use filter functions or create_target will not work. I understood from Jan that this is fine, because later CouchDB versions will have sessions addressable as resources. Until then, this patch can cancel the continuous replications that Futon allows you to start.
I wanted to try out github, so I forked and committed:
https://github.com/eteeselink/couchdb/commit/e3295ed0d24b221206ef0f1cf75f78946297db31
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1115) Added button to cancel continuous
replications
Posted by "Egbert Teeselink (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028382#comment-13028382 ]
Egbert Teeselink commented on COUCHDB-1115:
-------------------------------------------
Hi guys,
I'll happily do it, but it'll take a while: I bought a house yesterday and
am busy fixing it up. Will it still be useful by the end of may or shall
we just make something for 1.1 that helps manage the sessions database?
(which was added in 1.1, if i recall - can't check right now)
Egbert
On Sat, 16 Apr 2011 20:34:05 +0200, Jan Lehnardt (JIRA) <ji...@apache.org>
> Added button to cancel continuous replications
> ----------------------------------------------
>
> Key: COUCHDB-1115
> URL: https://issues.apache.org/jira/browse/COUCHDB-1115
> Project: CouchDB
> Issue Type: Improvement
> Components: Futon
> Reporter: Egbert Teeselink
> Priority: Minor
> Labels: cancel, javascript, replication
>
> In response to a challenge from Jan Lehnart during the Berlin CouchDB training, I added a "cancel" link to the status page of Futon, so that running continuous replications can be cancelled.
> It can only cancel "vanilla" continuous replications, so ones that use filter functions or create_target will not work. I understood from Jan that this is fine, because later CouchDB versions will have sessions addressable as resources. Until then, this patch can cancel the continuous replications that Futon allows you to start.
> I wanted to try out github, so I forked and committed:
> https://github.com/eteeselink/couchdb/commit/e3295ed0d24b221206ef0f1cf75f78946297db31
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1115) Added button to cancel continuous
replications
Posted by "Egbert Teeselink (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014537#comment-13014537 ]
Egbert Teeselink commented on COUCHDB-1115:
-------------------------------------------
Btw, if applied together with https://issues.apache.org/jira/browse/COUCHDB-1016 the code can be simplified by using $.couch.replicate() instead of jQuery.ajax().
> Added button to cancel continuous replications
> ----------------------------------------------
>
> Key: COUCHDB-1115
> URL: https://issues.apache.org/jira/browse/COUCHDB-1115
> Project: CouchDB
> Issue Type: Improvement
> Components: Futon
> Reporter: Egbert Teeselink
> Priority: Minor
> Labels: cancel, javascript, replication
>
> In response to a challenge from Jan Lehnart during the Berlin CouchDB training, I added a "cancel" link to the status page of Futon, so that running continuous replications can be cancelled.
> It can only cancel "vanilla" continuous replications, so ones that use filter functions or create_target will not work. I understood from Jan that this is fine, because later CouchDB versions will have sessions addressable as resources. Until then, this patch can cancel the continuous replications that Futon allows you to start.
> I wanted to try out github, so I forked and committed:
> https://github.com/eteeselink/couchdb/commit/e3295ed0d24b221206ef0f1cf75f78946297db31
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1115) Added button to cancel continuous
replications
Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020643#comment-13020643 ]
Jan Lehnardt commented on COUCHDB-1115:
---------------------------------------
I applied 1016, Egbert, do you want to clean up the patch?
While you are at it, can you make sure the JS code is formatted like the rest in the file?
> Added button to cancel continuous replications
> ----------------------------------------------
>
> Key: COUCHDB-1115
> URL: https://issues.apache.org/jira/browse/COUCHDB-1115
> Project: CouchDB
> Issue Type: Improvement
> Components: Futon
> Reporter: Egbert Teeselink
> Priority: Minor
> Labels: cancel, javascript, replication
>
> In response to a challenge from Jan Lehnart during the Berlin CouchDB training, I added a "cancel" link to the status page of Futon, so that running continuous replications can be cancelled.
> It can only cancel "vanilla" continuous replications, so ones that use filter functions or create_target will not work. I understood from Jan that this is fine, because later CouchDB versions will have sessions addressable as resources. Until then, this patch can cancel the continuous replications that Futon allows you to start.
> I wanted to try out github, so I forked and committed:
> https://github.com/eteeselink/couchdb/commit/e3295ed0d24b221206ef0f1cf75f78946297db31
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira