Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 39648 invoked from network); 22 May 2009 15:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 May 2009 15:06:35 -0000 Received: (qmail 93823 invoked by uid 500); 22 May 2009 15:06:47 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 93744 invoked by uid 500); 22 May 2009 15:06:47 -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 93734 invoked by uid 99); 22 May 2009 15:06:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 15:06:47 +0000 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 paul.p.carey@gmail.com designates 209.85.218.170 as permitted sender) Received: from [209.85.218.170] (HELO mail-bw0-f170.google.com) (209.85.218.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 15:06:39 +0000 Received: by bwz18 with SMTP id 18so1994546bwz.11 for ; Fri, 22 May 2009 08:06:17 -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:content-type :content-transfer-encoding; bh=1+YY1tUEBWQPdd3yjXqY58G+Veq+MUV2J9RvcmWzCIE=; b=GpJx6NTpGyTsoS0nTASYqVwuhuk7rGu4il6hZmbi3UifqXuYBKvEmW930nb+jOFsEh gBgEcoJgBcjRZN4XUN3/tWBWQcF4cAYcxzgN6QDCxMZVGXHB8kUa1RmKIzR1GBnJ9DVg 3qiuVprsvTrFtd+B4c9B9Wp3WCp/36FAbZvW0= 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 :content-type:content-transfer-encoding; b=YniAYWEWF7psPHtq5AGzHhuVCyBLg0yCn39ARqfwEtQk7uqeF/MvL3gfRbck4dySLA 3aaSPNCSgen/wHnMEHxmKcNF1eSlFTMtioCq0mC0pwQ900xhZP19xlNq9ZVHqhIDDISG bflRfYC5c6SU1ID8aThtiZ6CtK5H+wKCuNKL4= MIME-Version: 1.0 Received: by 10.204.113.198 with SMTP id b6mr3660813bkq.108.1243004777170; Fri, 22 May 2009 08:06:17 -0700 (PDT) In-Reply-To: References: <13ae4dd50905220241y4a3b9fd7x64908b552a8c2152@mail.gmail.com> Date: Fri, 22 May 2009 16:06:17 +0100 Message-ID: <13ae4dd50905220806h5722594amd5c57156099881a8@mail.gmail.com> Subject: Re: Non deterministic winner when bulk saving with all_or_nothing:true From: Paul Carey To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > PS, I always feel a bit odd addressing emails to myself. heh, glad I'm not the only one :) I'll file a bug later today. Paul On Fri, May 22, 2009 at 3:46 PM, Paul Davis wrote: > Paul, > > Yeah, definitely file a bug. If you can cook up some JavaScript to > show it, that'd be awesome too. > > Paul > > PS, I always feel a bit odd addressing emails to myself. > > On Fri, May 22, 2009 at 5:41 AM, Paul Carey wrote: >> Hi >> >> I can reproduce the following behaviour on 0.9. >> >> 1. Save a doc with property x:1 (after saving, the revision = 1-r) >> 2. Save again with property x:2 (after saving the revision = 2-r) >> 3. Save via bulk_docs with all_or_nothing:true, revision:1-r, and x:3 >> 4. Load the doc. Half the time x = 2, the other half, x = 3. >> >> This seems wrong to me, I believe x should always be 2. Should I file a bug? >> >> Thanks >> >> Paul >> >