--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 395EE6DE02A9\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 15:53:43 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.028\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.028 tagged_above=-999 required=5\r
+ tests=[AWL=-0.017, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id f_FnbqwIG8y2 for <notmuch@notmuchmail.org>;\r
+ Tue, 22 Mar 2016 15:53:34 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 58C886DE0217\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 15:53:34 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aiVBg-0002u7-RR; Tue, 22 Mar 2016 18:54:08 -0400\r
+Received: (nullmailer pid 15777 invoked by uid 1000);\r
+ Tue, 22 Mar 2016 22:53:31 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Chris Down <chris@chrisdown.name>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: "The revision being read has been discarded - you should call\r
+ Xapian::Database::reopen() and retry the operation"\r
+In-Reply-To: <20160322205653.GC2233@chrisdown.name>\r
+References: <20160322171509.GA2233@chrisdown.name>\r
+ <87mvpql0d3.fsf@zancas.localnet> <20160322205653.GC2233@chrisdown.name>\r
+User-Agent: Notmuch/0.21+74~g6c60fb1 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 22 Mar 2016 19:53:31 -0300\r
+Message-ID: <87k2kuktuc.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 22 Mar 2016 22:53:43 -0000\r
+\r
+Chris Down <chris@chrisdown.name> writes:\r
+\r
+>\r
+> Seems that that fatals for the same reason:\r
+>\r
+> % NOTMUCH_CONFIG=.config/notmuch/personal notmuch dump\r
+> A Xapian exception occurred opening database: Db block overwritten - are there multiple writers?\r
+>\r
+> I guess my best bet is to start with a fresh notmuch setup for this maildir?\r
+>\r
+> Thanks for your help, David. I appreciate that. :-)\r
+>\r
+> Chris\r
+\r
+Very recent versions of xapian-check (1.3 +? not sure) have an option F to attempt to\r
+repair the database. That's about all I can think of. If you have a lot\r
+of effort in your metadata, you might ask on the xapian user list\r
+<xapian-discuss@lists.xapian.org>.\r
+\r
+\r
+d\r