Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-782

Restarting replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.10
    • None
    • Replication
    • Ubuntu, 9.10

    • Regular Contributors Level (Easy to Medium)

    Description

      So we had to restart replication on a server and here's something I noticed.

      At first I restarted the replication via the following command from localhost:

      curl -X POST -d '

      {"source":"http://localhost:5984/foo", "target":"http://remote:5984/foo"}

      ' http://localhost:5984/_replicate

      In response, futon stats:
      W Processed source update #176841152

      That part is great.

      Last night I did not have immediate access to the shell so I restarted replication from remote (through curl on my mobile):

      curl -X POST -d '

      {"source":"http://user:pass@public.host:5984/foo", "target":"http://remote:5984/foo"}

      ' http://user:pass@pubic.host:5984/_replicate

      The response in futon this morning:
      W Processed source update #1066

      ... and it kept sitting there like it was stalled and only continued in smaller increments.

      I restarted CouchDB and restarted from localhost - instant jump to 176 million.

      I'm just wondering what might be different accept for that one is against the public interface, vs. localhost. I'd assume that replication behaves the same regardless.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              till Till Klampaeckel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: