Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 85226 invoked from network); 16 Dec 2008 20:35:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 20:35:18 -0000 Received: (qmail 39140 invoked by uid 500); 16 Dec 2008 20:35:29 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 39114 invoked by uid 500); 16 Dec 2008 20:35:29 -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 39103 invoked by uid 99); 16 Dec 2008 20:35:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 12:35:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.198.230 as permitted sender) Received: from [209.85.198.230] (HELO rv-out-0506.google.com) (209.85.198.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 20:35:14 +0000 Received: by rv-out-0506.google.com with SMTP id g37so3265320rvb.35 for ; Tue, 16 Dec 2008 12:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vt7gJ94xIorDgBkX9iL34m3NMu4Ta7T+JrcsmankqOA=; b=nDNNfk0GH8IDw7u3MnxfXhebXOa8tXTOqVcwAsjIN3BW/hS7HBSpUM7XFcBuX1q69X Njo1pb7TR90PjCTNjD2D5/xsvZMZMfyhm2Oiz08OaF3AVitrQSATyqI/wKU6MAj7rIik K7Uv9ECMctk8uYz1gZWbJgAA2AuZTqpWkEG5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hMgjNT77KKskY2IRgRboS1gQP66SgGkr2cG//tRUilxpfk4UbNpfq08RKCVZEJ0J0t PHtur83z2nBHXAjiRfGKRkr08Aa7HH3fxgTrt0bzM1sdyAN2LgEWumF+K/RLj1eQwTSu EVx6gnZemdqFWb5sV5J2ceDTIxAnfHiy1xLMs= Received: by 10.140.139.6 with SMTP id m6mr4480618rvd.242.1229459693597; Tue, 16 Dec 2008 12:34:53 -0800 (PST) Received: by 10.141.45.17 with HTTP; Tue, 16 Dec 2008 12:34:53 -0800 (PST) Message-ID: Date: Tue, 16 Dec 2008 15:34:53 -0500 From: "Paul Davis" To: user@couchdb.apache.org Subject: Re: atomic update of several documents In-Reply-To: <81c509c0812161226h7d9d56efhdffb7d09e879417b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81c509c0812161226h7d9d56efhdffb7d09e879417b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Yeah, _bulk_docs which the python lib is using is atomic. All writes succeed or fail. On Tue, Dec 16, 2008 at 3:26 PM, Dusty Leary wrote: > I am writing an app in python. > The python couchdb lib defines a function db.update(documents), with > the comment "Perform a bulk update or insertion of the given documents > using a single HTTP request." > > I know a single document update fails if my revision is old. > > My question is, does a batch update fail for all documents if it fails for one? > > -Dusty >