CouchDB
  1. CouchDB
  2. COUCHDB-1115

Added button to cancel continuous replications

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Futon
    • Skill Level:
      New Contributors Level (Easy)

      Description

      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

        Issue Links

          Activity

          Hide
          Egbert Teeselink added a comment -

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

          Show
          Egbert Teeselink added a comment - 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().
          Hide
          Jan Lehnardt added a comment -

          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?

          Show
          Jan Lehnardt added a comment - 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?
          Hide
          Egbert Teeselink added a comment -

          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) <jira@apache.org>

          Show
          Egbert Teeselink added a comment - 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) <jira@apache.org>

            People

            • Assignee:
              Unassigned
              Reporter:
              Egbert Teeselink
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development