Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 43142 invoked from network); 17 Sep 2008 15:39:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 15:39:51 -0000 Received: (qmail 89619 invoked by uid 500); 17 Sep 2008 15:39:48 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 89278 invoked by uid 500); 17 Sep 2008 15:39:47 -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 89267 invoked by uid 99); 17 Sep 2008 15:39:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 08:39:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 74.125.46.152 as permitted sender) Received: from [74.125.46.152] (HELO yw-out-1718.google.com) (74.125.46.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 15:38:46 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1007333ywr.0 for ; Wed, 17 Sep 2008 08:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Pyx6oDMVVxdmVRGuhnZr64XqGMlLxFntyqrSeIpJnsw=; b=TA3oaiAoF9EZA3WNMr+zWkuxQAmsLfRmaUKZRU+9NWEfohUgBGrpEstFE6Dn896hKs 9Zspn4HUJ7Ea25Civ72vrkAna8hKu4T0vAvOBS6dP9Vbxa1tNNrZ9aaMIpfs0RG9dcP5 zP+herKlUAoF8DaXc7zj05VzfWAcbkAhFitzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=XhAVu4D4LqbzpKy7uJjFwsJ6viPR4bO/bfs2e2EynyLhVlzAZnUd7eVWa89SOxm5mc R0jdq8YjI5hgnE07HBFFWTbvWf/rvh5NOKPGATrumQZD6hd1vHMajgUboVPkKL00WxiG /b3Z8Usv/rwx6DNUVZEV6wPVhnx0MHlcNimMg= Received: by 10.142.213.9 with SMTP id l9mr915703wfg.208.1221665947859; Wed, 17 Sep 2008 08:39:07 -0700 (PDT) Received: by 10.142.49.15 with HTTP; Wed, 17 Sep 2008 08:39:07 -0700 (PDT) Message-ID: Date: Wed, 17 Sep 2008 11:39:07 -0400 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: Bulk Load In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48CBEAC7.1030403@yahoo.com> <48CC5768.8050405@yahoo.com> <5871b9da0809131724x1edb1fb9r7430e01ffb97bdd5@mail.gmail.com> <7c40ded80809131837u6c3cfb61s2036a2e7679daece@mail.gmail.com> <5871b9da0809140245j6a3933b8r6755f801e592b05d@mail.gmail.com> <076CE1E1-568E-4891-92BF-84E79082A7AB@apache.org> <5871b9da0809141449o396a14fehac44316cdeac435c@mail.gmail.com> X-Google-Sender-Auth: a22a7849cb2be548 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Sep 17, 2008 at 11:34 AM, Paul Davis wrote: > Alternatively something like the following might work: > > Keep an eye on the specifics of _bulk_docs though. There have been > requests to make it non-atomic, but I think in the face of something > like this we might make non-atomic _bulk_docs a non-default or some > such. I think the need for non-transaction bulk-docs will be obviated when we have the failure response say which docs caused failure, that way one can retry once to save all the non-conflicting docs, and then loop back through to handle the conflicts. upshot: I bet you can count on bulk docs being transactional. -- Chris Anderson http://jchris.mfdz.com