Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 11674 invoked from network); 2 Jun 2010 16:06:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 16:06:05 -0000 Received: (qmail 799 invoked by uid 500); 2 Jun 2010 16:06:05 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 756 invoked by uid 500); 2 Jun 2010 16:06:05 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 748 invoked by uid 99); 2 Jun 2010 16:06:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 16:06:05 +0000 X-ASF-Spam-Status: No, hits=-1488.2 required=10.0 tests=ALL_TRUSTED,AWL,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 16:06:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o52G5hp3010494 for ; Wed, 2 Jun 2010 16:05:44 GMT Message-ID: <33157812.134041275494743862.JavaMail.jira@thor> Date: Wed, 2 Jun 2010 12:05:43 -0400 (EDT) From: "Till Klampaeckel (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-782) Restarting replication In-Reply-To: <5653579.133941275494617759.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Till Klampaeckel updated COUCHDB-782: ------------------------------------- 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. was: 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: 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 continue 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. Spelling! > Restarting replication > ----------------------- > > Key: COUCHDB-782 > URL: https://issues.apache.org/jira/browse/COUCHDB-782 > Project: CouchDB > Issue Type: Bug > Components: Replication > Affects Versions: 0.10 > Environment: Ubuntu, 9.10 > Reporter: Till Klampaeckel > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.