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 82008F5B4 for ; Wed, 1 May 2013 09:53:51 +0000 (UTC) Received: (qmail 78379 invoked by uid 500); 1 May 2013 09:53:49 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78121 invoked by uid 500); 1 May 2013 09:53:49 -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 77923 invoked by uid 99); 1 May 2013 09:53:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 09:53:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rl@cego.dk designates 195.88.36.33 as permitted sender) Received: from [195.88.36.33] (HELO mail.cego.dk) (195.88.36.33) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 09:53:44 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cego.dk (Postfix) with ESMTP id 975267590F80 for ; Wed, 1 May 2013 11:53:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.cego.dk Received: from mail.cego.dk ([127.0.0.1]) by localhost (mail.cego.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a+DEqUqOa+7a for ; Wed, 1 May 2013 11:53:22 +0200 (CEST) Received: by mail.cego.dk (Postfix, from userid 65534) id D0C117590F87; Wed, 1 May 2013 11:53:22 +0200 (CEST) Received: by /etc/postfix/filter/filter.php; Wed, 01 May 2013 11:53:22 +0200 Received: from [192.168.192.249] (unknown [10.0.1.1]) by mail.cego.dk (Postfix) with ESMTPSA id C77AC7590F80 for ; Wed, 1 May 2013 11:53:22 +0200 (CEST) Message-ID: <5180E610.8030804@cego.dk> Date: Wed, 01 May 2013 11:53:20 +0200 From: Robert Larsen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: Replication misses documents References: <5180BF52.3040605@cego.dk> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD265DF89EB76D9906FFBDE97" X-Virus-Checked: Checked by ClamAV on apache.org --------------enigD265DF89EB76D9906FFBDE97 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/01/2013 11:35 AM, Dave Cottlehuber wrote: > > The source_seq is very low, compared to the current npm registry: > > curl -s http://isaacs.iriscouch.com/registry | json_reformat | grep co= mmitted > > "committed_update_seq": 474407 > > So either you're not pointing at the actual registry, or this > replication is no longer running for some reason. I weren't. I were pointing to a local version (the one on 192.168.192.70 in my examples) that were probably not entirely replicated. But it contained the 'underscore' document, so when I replicate that one over to my localhost, I would expect the same documents to be there. > > I'd cancel the replication, and re-create it using the _replicator > endpoint so it gets picked up even if the server restarts. Something > like this (untested): > > curl -X PUT http://admin:passwd@localhost:5984/_replicator/npm-mirror > --data-binary '{"source":"https://isaacs.iriscouch.com/registry", > "target":"npm-mirror", "continuous": true}' -H "Content-Type: > application/json" I'll try that. Is there a way to replicate the compacted version instead of the full 50 or so GB? I don't need every version of every document. > For the failure, a snippet of the couch.log file will probably explain > why this is failing. > There ain't really any failures. Not in the log either. The document simply ain't in the database even thou it is in the database I am replicating...which is weird. Robert --------------enigD265DF89EB76D9906FFBDE97 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlGA5hAACgkQzDMeisFqGZYhLgCg4M5TyG/liGdChjv5qU3ovW6n GBQAn3NyvwOdggTkxLOg1H9z4cCJNYIT =FSt2 -----END PGP SIGNATURE----- --------------enigD265DF89EB76D9906FFBDE97--