From couchdb-user-return-780-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Wed Jul 16 09:19:12 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 86308 invoked from network); 16 Jul 2008 09:19:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jul 2008 09:19:12 -0000 Received: (qmail 23860 invoked by uid 500); 16 Jul 2008 09:19:11 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 23835 invoked by uid 500); 16 Jul 2008 09:19:11 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 23824 invoked by uid 99); 16 Jul 2008 09:19:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2008 02:19:11 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=FS_REPLICA,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2008 09:18:17 +0000 Received: from [192.168.1.33] (e179071096.adsl.alicedsl.de [::ffff:85.179.71.96]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Wed, 16 Jul 2008 09:18:39 +0000 Message-Id: <91B6B2D7-8A28-4F48-985F-9365DA3EABD1@apache.org> From: Jan Lehnardt To: couchdb-user@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: replication usage? creating dupes? Date: Wed, 16 Jul 2008 11:18:03 +0200 References: <8949D592-56FE-42E4-94E5-388B681C2BB2@gmail.com> <6f7ea56f0807151040l3d1be21cvdac9913cd214f0c7@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On 15 Jul 2008, at 21:24, Chris Anderson wrote: > On Tue, Jul 15, 2008 at 10:40 AM, John Evans wrote: >> FWIW I've been running into these exact same issues. > > I'll chime in with a me too. I've worked around it by writing a > client-side replicator, that loads up all docs from both dbs, and > copies any missing docs over to the target db. My requirements mean I > don't need to worry about multiple versions of a doc, so this has > worked for me for the time being. It would be more convenient to have > fast, reliable replication. > > I'll commit the replicator to CouchRest this week. Hey Chris & Others. I'm surprised that his wasn't reported earlier. CouchDB replication is supposed to be reliable (when we got all the bugs out), so an external replication thing should not be necessary. I would have guessed that reporting this is easier than writing code to circumvent the problem. This should be fixed in CouchDB and not worked around. That said, you are of course free to implement all you like in your libraries :) Cheers Jan --