Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 75018 invoked from network); 7 Aug 2010 19:08:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Aug 2010 19:08:41 -0000 Received: (qmail 50934 invoked by uid 500); 7 Aug 2010 19:08:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 50899 invoked by uid 500); 7 Aug 2010 19:08:40 -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 50891 invoked by uid 99); 7 Aug 2010 19:08:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 19:08:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of randall.leeds@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 19:08:35 +0000 Received: by qyk31 with SMTP id 31so6297076qyk.11 for ; Sat, 07 Aug 2010 12:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=85Jwk8Igg4oQffqjEYlU5dDPj+pR1YFd94B3rhe4hEA=; b=ZVkWaTKqSxLJZrZw2drSl47BWh/PLgGr49HXx9dfB10yP6GjIlxvhGsLuOmtuJEOC1 2xy6fveLmBolulw2CEBYCZiYcWOg3OGBpXGSMwf4TKkkErn45EIp9X9nt9os4HZbHeeB fQhnIipZd7ModsxCJCCr1pRpSS3KHERat5tZs= 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; b=nJtoYXNyHiyUOCoFePbgGaO32TXNZVTTqABQAKPFmPNwcxwDO/pf7PE8ayVYnFjV5l /WmBN2cGNcIlPdHB1v12srjbC5V8AEdPtdMq0dgCzhA6fHU4qz5DKzKm/nf5vGwChB8I r3aMBMGz1qVYiostvkgbf4gsDi3gcUg1W6gp4= MIME-Version: 1.0 Received: by 10.224.116.18 with SMTP id k18mr7180556qaq.303.1281208094452; Sat, 07 Aug 2010 12:08:14 -0700 (PDT) Received: by 10.229.235.131 with HTTP; Sat, 7 Aug 2010 12:08:14 -0700 (PDT) In-Reply-To: References: <770C713F-BBA2-4E0C-B9BE-9441A053BCA4@apache.org> <7C48F227-12CA-477E-9581-8E87EE4C1610@apache.org> <5A99E2CB-F53E-4435-8225-578946239068@apache.org> Date: Sat, 7 Aug 2010 12:08:14 -0700 Message-ID: Subject: Re: Data loss From: Randall Leeds To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 On Sat, Aug 7, 2010 at 11:56, Randall Leeds wrote: > I agree completely! I immediately thought of this because I wrote that > change. I spent a while staring at it last night but still can't > imagine how it's a problem. > > On Sat, Aug 7, 2010 at 11:12, Damien Katz wrote: >> SVN commit r954043 looks suspicious. Digging further. >> >> -Damien > I still want to stare at r954043, but it looks to me like there's at least one situation where we do not commit data correctly during compaction. This has to do with the way we now use the path to sync outside the couch_file:process. Check this diff: http://gist.github.com/513081