Re: "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation"

Subject: Re: "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation"

Date: Tue, 22 Mar 2016 17:32:40 -0300

To: Chris Down, notmuch@notmuchmail.org

Cc:

From: David Bremner


Chris Down <chris@chrisdown.name> writes:


> 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?

You could try running xapian-check $MAILDIR/.notmuch/xapian

It might be a good idea to make a backup with notmuch dump; this is a
read-only operation so it should not make things worse.

d

Thread: