From: Chris Down <chris@chrisdown.name>
To: notmuch@notmuchmail.org
Subject: "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation"
Date: Tue, 22 Mar 2016 17:15:09 +0000 [thread overview]
Message-ID: <20160322171509.GA2233@chrisdown.name> (raw)
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
next reply other threads:[~2016-03-22 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-22 17:15 Chris Down [this message]
2016-03-22 20:32 ` "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation" David Bremner
2016-03-22 20:56 ` Chris Down
2016-03-22 22:53 ` David Bremner
2016-03-22 23:11 ` Chris Down
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160322171509.GA2233@chrisdown.name \
--to=chris@chrisdown.name \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).