Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 463A5104DE for ; Wed, 2 Oct 2013 22:47:53 +0000 (UTC) Received: (qmail 35831 invoked by uid 500); 2 Oct 2013 22:47:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 35779 invoked by uid 500); 2 Oct 2013 22:47:51 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 35771 invoked by uid 99); 2 Oct 2013 22:47:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 22:47:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jens@couchbase.com designates 206.225.164.32 as permitted sender) Received: from [206.225.164.32] (HELO EXHUB020-5.exch020.serverdata.net) (206.225.164.32) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 22:47:45 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.141]) by EXHUB020-5.exch020.serverdata.net ([206.225.164.32]) with mapi; Wed, 2 Oct 2013 15:47:23 -0700 From: Jens Alfke To: "user@couchdb.apache.org" Date: Wed, 2 Oct 2013 15:47:23 -0700 Subject: Re: Couchdb replication issue (badmatch) Thread-Topic: Couchdb replication issue (badmatch) Thread-Index: Ac6/wVvpKyu5uDEFQp6ByZE+ncQWKQ== Message-ID: <836F66AA-840C-49D1-96E6-45BAEB5D631C@couchbase.com> References: <20131002165339.GA14742@translab.its.uci.edu> In-Reply-To: <20131002165339.GA14742@translab.its.uci.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 30, 2013 at 10:08:41AM +0200, Pieter van der Eems wrote: > "_id": "pull_repme=94, > "source": "http://localhost:5555/repme", > "target": "http://admin:********@server A:5984/repme=94, Three things I noticed: 1. Shouldn=92t the _id be =93push_repme=94? This is a push replication from= a local source to a remote target. 2. The source can be written more simply as just =93repme=94. I don=92t kno= w if CouchDB is smart enough (or able) to figure out that the URL you gave = is a local database. If the db is internal, CouchDB can access it directly = instead of having to talk HTTP to it. That might or might not be contributi= ng to your problem. 3. The target URL says =93server A=94, but in your description above you ca= ll the remote server =93server B=94. Typo? > ... Within a few seconds I saw the database on server A now had > 45 documents and futon reports it's size as 255.3Mb. Then no more > activity as far as I can see. Again, I=92m confused because you=92re inconsistent in saying which server = the replication is running on. A or B? =97Jens=