From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 15D606DE0271 for ; Sat, 7 Apr 2018 13:58:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.369 X-Spam-Level: X-Spam-Status: No, score=-0.369 tagged_above=-999 required=5 tests=[AWL=-0.367, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0vQ2mnURAPk for ; Sat, 7 Apr 2018 13:58:46 -0700 (PDT) Received: from thyestes.tartarus.org (thyestes.tartarus.org [5.196.91.86]) by arlo.cworth.org (Postfix) with ESMTPS id 34FD96DE026E for ; Sat, 7 Apr 2018 13:58:45 -0700 (PDT) Received: from olly by thyestes.tartarus.org with local (Exim 4.84_2) (envelope-from ) id 1f4uv4-0000F9-Br; Sat, 07 Apr 2018 21:58:42 +0100 Date: Sat, 7 Apr 2018 21:58:42 +0100 From: Olly Betts To: David Bremner Cc: Javier Garcia , notmuch@notmuchmail.org, Patrick Totzke , xapian-discuss@lists.xapian.org, Justus Winter Subject: Re: Database corruption after clean rebuild Message-ID: <20180407205842.GB1867@survex.com> Reply-To: Xapian Discussion Mail-Followup-To: David Bremner , Javier Garcia , notmuch@notmuchmail.org, Patrick Totzke , xapian-discuss@lists.xapian.org, Justus Winter References: <8a311263-a46f-3327-4054-d8d863fa0169@gmail.com> <874lknwztk.fsf@tethera.net> <87y3hzuw5z.fsf@tethera.net> <5bde652e-8ffe-d43d-106d-a43c7a1b4126@gmail.com> <87r2nryrjg.fsf@tesseract.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87r2nryrjg.fsf@tesseract.cs.unb.ca> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2018 20:58:47 -0000 On Sat, Apr 07, 2018 at 12:17:39PM -0300, David Bremner wrote: > Javier Garcia writes: > > > The following is a solid workaround I've stumbled upon. Afew no longer > > complains and database corruption is gone. > > > > $ notmuch compact > > $ xapian-check ~/.mail/.notmuch/xapian > >    > >    No errors found > > Right, I should have thought of compaction, that's a workaround Olly > mentioned before. That strongly suggests that you are hitting the known > Xapian bug. Yes - the error exactly matches that too. Cheers, Olly