Re: "The revision being read has been discarded - you should call Xapian::Database...
authorChris Down <chris@chrisdown.name>
Tue, 22 Mar 2016 23:11:57 +0000 (23:11 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:22 +0000 (16:21 -0700)
96/6296c9194118db0d2b849143af6fbb95393d6f [new file with mode: 0644]

diff --git a/96/6296c9194118db0d2b849143af6fbb95393d6f b/96/6296c9194118db0d2b849143af6fbb95393d6f
new file mode 100644 (file)
index 0000000..78c0176
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <chris@chrisdown.name>\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 543E66DE0217\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 16:12:07 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.821\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.821 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 LSyeBstWWmSQ for <notmuch@notmuchmail.org>;\r
+ Tue, 22 Mar 2016 16:11:59 -0700 (PDT)\r
+Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com\r
+ [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id 1C6ED6DE02A9 for\r
+ <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 16:11:59 -0700 (PDT)\r
+Received: by mail-wm0-f41.google.com with SMTP id l68so173589306wml.0\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 16:11:59 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=chrisdown.name; s=google;\r
+ h=date:from:to:cc:subject:message-id:references:mime-version\r
+ :content-disposition:in-reply-to:user-agent;\r
+ bh=q49kNnOfYHn1GEtsGrjadbzfBwg2MjJd+vbStXYAEM4=;\r
+ b=N8OVnC8r4IayxFjilp1WVPSJP6Na3wGxXFuJ8EQDk1S5mABScFtP9tqna+glMNf27A\r
+ 0UYT/+cerbCrzG0He8NsG1/bd4He0cHQo62ZSALyumYM7cmaXWIzjbBDMmG9gf0Ha8Em\r
+ USRHQgeT5D0xdilkczFDqASlN5DoDNuCSO0ho=\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:date:from:to:cc:subject:message-id:references\r
+ :mime-version:content-disposition:in-reply-to:user-agent;\r
+ bh=q49kNnOfYHn1GEtsGrjadbzfBwg2MjJd+vbStXYAEM4=;\r
+ b=j2NWU3YMLxhl4rdox3b+FxTHHYh0VqD4M+rq5MMMFDMEwTS9Tbp+9kHVNbc+CU2th3\r
+ dpCtFGpJS1tNzvUtOQCyGQJi1948mLeOE9yUf44xW0qogYC7IbPgEiMMqw3iibXZ6AyJ\r
+ UlXm76pxgGhKpUag/2P9adDpRPjAQbBqkV//DZRclULaqlc+2ix4POzvYLkuEWd5I9AE\r
+ FZX9FpRiGSXmcEKWnXp7TZ51mLZZKwARH1mTUZIg/SrTtEDO4RN18k4yLi0eJqB2rTO5\r
+ h+G6gq0JbPhp3BahS+KjU+dp+/TuUb5w8CzTLAHHWYw/n9c/b8kMC09m0K7g2MDLcoEj\r
+ +hyw==\r
+X-Gm-Message-State:\r
+ AD7BkJLz6m1LGT6wxvkt9fH64JQZRf+cUnas9vx/+5mxtnxToQlMmQ4naH+Qg+o1d23tIUN5\r
+X-Received: by 10.194.187.71 with SMTP id fq7mr37071200wjc.97.1458688317509;\r
+ Tue, 22 Mar 2016 16:11:57 -0700 (PDT)\r
+Received: from localhost ([213.205.251.85])\r
+ by smtp.gmail.com with ESMTPSA id p189sm19512543wmb.7.2016.03.22.16.11.56\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Tue, 22 Mar 2016 16:11:57 -0700 (PDT)\r
+Date: Tue, 22 Mar 2016 23:11:57 +0000\r
+From: Chris Down <chris@chrisdown.name>\r
+To: David Bremner <david@tethera.net>\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
+Message-ID: <20160322231157.GD2233@chrisdown.name>\r
+References: <20160322171509.GA2233@chrisdown.name>\r
+ <87mvpql0d3.fsf@zancas.localnet>\r
+ <20160322205653.GC2233@chrisdown.name>\r
+ <87k2kuktuc.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii; format=flowed\r
+Content-Disposition: inline\r
+In-Reply-To: <87k2kuktuc.fsf@zancas.localnet>\r
+User-Agent: Mutt/1.5.24 (2015-08-30)\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 23:12:07 -0000\r
+\r
+David Bremner writes:\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
+Yeah, seems the version shipped with arch is still 1.2.22, presumably because \r
+it's marked as the "stable release". I might just build a newer version from \r
+source then, thanks for the tip. :-)\r
+\r
+    % xapian-check --version\r
+    xapian-check - xapian-core 1.2.22\r
+    % xapian-check -F Mail/Personal/.notmuch/xapian\r
+    option Mail/Personal/.notmuch/xapian unknown\r
+    use t,f,b,v and/or + in the option string\r
+\r
+I don't have much (read: any) effort in my metadata, so I guess I'll just \r
+rebuild from scratch.\r