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

David Bremner david at tethera.net
Tue Mar 22 13:32:40 PDT 2016


Chris Down <chris at 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


More information about the notmuch mailing list