Re: "The revision being read has been discarded - you should call Xapian::Database...
authorDavid Bremner <david@tethera.net>
Tue, 22 Mar 2016 20:32:40 +0000 (17:32 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:22 +0000 (16:21 -0700)
be/f011da804c0427d43a776dfe292d6149c956f2 [new file with mode: 0644]

diff --git a/be/f011da804c0427d43a776dfe292d6149c956f2 b/be/f011da804c0427d43a776dfe292d6149c956f2
new file mode 100644 (file)
index 0000000..56064a5
--- /dev/null
@@ -0,0 +1,66 @@
+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 6B0496DE02A9\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 13:32:53 -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 aVOIrtEDHEnF for <notmuch@notmuchmail.org>;\r
+ Tue, 22 Mar 2016 13:32:45 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 5082C6DE0217\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 13:32:45 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aiSzN-0001GX-Vb; Tue, 22 Mar 2016 16:33:18 -0400\r
+Received: (nullmailer pid 10208 invoked by uid 1000);\r
+ Tue, 22 Mar 2016 20:32:40 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Chris Down <chris@chrisdown.name>, 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: <20160322171509.GA2233@chrisdown.name>\r
+References: <20160322171509.GA2233@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 17:32:40 -0300\r
+Message-ID: <87mvpql0d3.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 20:32:53 -0000\r
+\r
+Chris Down <chris@chrisdown.name> writes:\r
+\r
+\r
+> After looking around for information about this error, it seems it can also \r
+> mean that the Xapian database is corrupted. Since this is happening on two \r
+> different databases, it seems interesting that the corruption would happen in \r
+> exactly the same way on both. Is there some way to verify the existence or \r
+> non-existence of database corruption in a Xapian database that I could try?\r
+\r
+You could try running xapian-check $MAILDIR/.notmuch/xapian\r
+\r
+It might be a good idea to make a backup with notmuch dump; this is a\r
+read-only operation so it should not make things worse.\r
+\r
+d\r