Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 32434 invoked from network); 24 Mar 2009 16:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 16:04:28 -0000 Received: (qmail 68745 invoked by uid 500); 24 Mar 2009 16:04:27 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 68669 invoked by uid 500); 24 Mar 2009 16:04:27 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 68659 invoked by uid 99); 24 Mar 2009 16:04:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 16:04:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.vancouvering@gmail.com designates 74.125.44.30 as permitted sender) Received: from [74.125.44.30] (HELO yx-out-2324.google.com) (74.125.44.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 16:04:16 +0000 Received: by yx-out-2324.google.com with SMTP id 8so1683355yxb.5 for ; Tue, 24 Mar 2009 09:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=n6/jgd1RGzeGoJXRWYWOhpyHd6cvz7Vl+Mj46AnL3lw=; b=mCgeaGOOXYZU5vmu+rcSlJ9yY1JYiiZUkx2yyEmDw42p5hyIHHd3cU+c3/i3gqLIOV WB3G8tpKUoUjOtMEEtKQk7RB28shlHm1PugkEr3GTaOYBKveuaPzkdWmtXfA8NKvTWUE wNhYpuOUqS29euTp3myLvjfRED0Ve1Lt9NBq0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VtPvz8MUIUm+sIHFddhDHIZ52m5LgtD5h1GcNKteUzsVBhSEh/7QrSsEd0dreW1gd1 2QusHbp/e6LAKSzjdwyW16lJdcIZ+lLjOzBXsCFcvMGE6JM5fa1d9rq8brNj1SB5wgJI +eLj6w3yY7AVFgeJ9CO9tShDJ9L8cmkLJAIwo= MIME-Version: 1.0 Received: by 10.231.15.130 with SMTP id k2mr2224189iba.3.1237910635301; Tue, 24 Mar 2009 09:03:55 -0700 (PDT) In-Reply-To: <20090324140841.GA11684@uk.tiscali.com> References: <20090324140841.GA11684@uk.tiscali.com> Date: Tue, 24 Mar 2009 09:03:55 -0700 Message-ID: <56a83cd00903240903i6c81d23dtefebf570e974fa48@mail.gmail.com> Subject: Re: Where to add documentation for bulk updates From: David Van Couvering To: dev@couchdb.apache.org Cc: Chris Anderson Content-Type: multipart/alternative; boundary=000325575702ae49ff0465df8797 X-Virus-Checked: Checked by ClamAV on apache.org --000325575702ae49ff0465df8797 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks for fixing this, Brian. I'm not sure I'm totally happy with these semantics. Unless I am missing something (more than possible as I'm still learning CouchDB), for a bulk update with N documents, you would have to do 1 round-trip for the update and N round-trips to check for conflicts (or, if not using all-or-nothing, N round-trips to check and see if the update was successful or not). Isn't there any way for the response to a bulk update to tell you which documents have conflicts or failures? If what I'm saying above is correct, I would probably just do regular PUTs and skip bulk update functionality altogether. David On Tue, Mar 24, 2009 at 7:08 AM, Brian Candler wrote: > On Tue, Mar 24, 2009 at 08:27:09AM +0000, Chris Anderson wrote: > > Don't be afraid to edit it! > > I just didn't want to stomp on it while someone else was working, and > create > more edit conflicts :-) > > I have fixed it now, except that I still don't know whether the > all_or_nothing commit boundary is preserved during replication. > > Regards, > > Brian. > -- David W. Van Couvering I am looking for a senior position working on server-side Java systems. Feel free to contact me if you know of any opportunities. http://www.linkedin.com/in/davidvc http://davidvancouvering.blogspot.com http://twitter.com/dcouvering --000325575702ae49ff0465df8797--