From b48117b55fd95e98b4068c30205c241641892234 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Tue, 22 Mar 2016 17:15:09 +0000 Subject: [PATCH] "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation" --- c2/d4909978e159ddadfb63adcc880aa5a3169d91 | 106 ++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 c2/d4909978e159ddadfb63adcc880aa5a3169d91 diff --git a/c2/d4909978e159ddadfb63adcc880aa5a3169d91 b/c2/d4909978e159ddadfb63adcc880aa5a3169d91 new file mode 100644 index 000000000..74e30230d --- /dev/null +++ b/c2/d4909978e159ddadfb63adcc880aa5a3169d91 @@ -0,0 +1,106 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 659CD6DE02A9 + for ; Tue, 22 Mar 2016 10:15:23 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.821 +X-Spam-Level: +X-Spam-Status: No, score=-0.821 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, 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 D3mOoA4-rrz0 for ; + Tue, 22 Mar 2016 10:15:15 -0700 (PDT) +Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com + [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id B897F6DE0217 for + ; Tue, 22 Mar 2016 10:15:14 -0700 (PDT) +Received: by mail-wm0-f41.google.com with SMTP id l68so162821656wml.0 + for ; Tue, 22 Mar 2016 10:15:14 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=chrisdown.name; s=google; + h=date:from:to:subject:message-id:mime-version:content-disposition + :user-agent; bh=iwqDKZCTs0Wut8H0Djr54yDYNa9oOnSwbIaBjHo6nsY=; + b=HT67EgfLS5fl3nVKwB/TIZOVGgs2VEYKrUoGe5szoz9B6r7WXQkw+0SkBIbMx4f9HW + GRo7qizG/M9ApEH3cbVP4yBmjDJw7teJiFUxGBgs3BaCHpJeejNvK4+V5rulp2omEKU7 + soZpxlQMOkH8aUaIcKEGh8MLJjzUS5B1g3PX0= +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:date:from:to:subject:message-id:mime-version + :content-disposition:user-agent; + bh=iwqDKZCTs0Wut8H0Djr54yDYNa9oOnSwbIaBjHo6nsY=; + b=Cc06aqiLQXBisQxLe3Bj02eiblj5O1IoS+QQeiZtd6SCmlM5GEcAN7dfrkfma3yxS7 + kgv7UgkKyF0ErIaKjN4COAE3yd3HgYQUcZq/yvm85y0WPfX8Pm9OmZUOljenULld8z8x + dpNWuJhnU/GbFVU6Iq7Lmi1lLItFDyRvGPmujzOgureaQiN964Eph8RH2Oa7ePrYCJNR + bocPigNOClixtcUn61Ga2bV0mZmx0qyvDpAKyELzwJ7GqCi79CkyS6wOY5NsUPt3iQcs + +M+VOn2sxIq0sFcoyXPFDl1O/fwpp+Cph4NoSHtiSGw4/SEve3T/zCwfr988CSNOkUCk + mAdg== +X-Gm-Message-State: + AD7BkJJAHiQVXKciIi1RoUGHNI5BnicmdXsdM3v1q+eTro/CX2LQKDAviVhZE0jTS2Cq32n0 +X-Received: by 10.194.81.103 with SMTP id z7mr36974231wjx.25.1458666910635; + Tue, 22 Mar 2016 10:15:10 -0700 (PDT) +Received: from localhost ([2620:10d:c092:200::1:592c]) + by smtp.gmail.com with ESMTPSA id o128sm18228208wmb.19.2016.03.22.10.15.09 + for (version=TLSv1/SSLv3 cipher=OTHER); + Tue, 22 Mar 2016 10:15:09 -0700 (PDT) +Date: Tue, 22 Mar 2016 17:15:09 +0000 +From: Chris Down +To: notmuch@notmuchmail.org +Subject: "The revision being read has been discarded - you should call + Xapian::Database::reopen() and retry the operation" +Message-ID: <20160322171509.GA2233@chrisdown.name> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii; format=flowed +Content-Disposition: inline +User-Agent: Mutt/1.5.24 (2015-08-30) +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Tue, 22 Mar 2016 17:15:23 -0000 + +Hey all, + +This morning it seems both instances of notmuch-mutt I use (two different +config files, two different databases) are showing the following error: + +> A Xapian exception occurred opening database: The revision being read has +> been discarded - you should call Xapian::Database::reopen() and retry the +> operation + +This error seems to totally fatal notmuch, since no mail is returned in the +temporary folder. + +There were some package upgrades this morning that seem potentially relevant: + + % pacman -Qi notmuch-mutt | grep Depends + Depends On : notmuch-runtime perl-mailtools perl-mail-box perl-term-readline-gnu perl-string-shellquote perl-file-which + % grep 2016-03-22 /var/log/pacman.log | grep -E 'notmuch|perl-mail|perl-term|perl-string|perl-file-which' + [2016-03-22 09:49] [ALPM] upgraded perl-file-which (1.18-1 -> 1.21-1) + [2016-03-22 09:49] [ALPM] upgraded perl-term-readline-gnu (1.28-1 -> 1.31-1) + +Trying to downgrade these is a no-go, however, because the upgrade this morning +also upgraded Perl, and the old versions of these scripts refuse to work with +the new version of Perl (lots of "use of uninitialised value" spam). + +After looking around for information about this error, it seems it can also +mean that the Xapian database is corrupted. Since this is happening on two +different databases, it seems interesting that the corruption would happen in +exactly the same way on both. Is there some way to verify the existence or +non-existence of database corruption in a Xapian database that I could try? + +Thanks, + +Chris -- 2.26.2