Re: A Xapian exception occurred adding message: Ran off end of freelist (71890, 244).

Subject: Re: A Xapian exception occurred adding message: Ran off end of freelist (71890, 244).

Date: Tue, 11 Feb 2025 07:55:00 -0400

To: Andrey Albershteyn

Cc: notmuch@notmuchmail.org

From: David Bremner


Andrey Albershteyn <aalbersh@redhat.com> writes:

>
> I ended up removing database, and running 'notmuch new' to re-index
> everything. This is problematic as now all my emails are marked as
> unread, but I figured this out by marking all older mails as read.

For future reference, you can use the commands "notmuch dump" and
"notmuch restore" to save the database state to a text file and restore
it after rebuilding the database.

> Didn't found the reason for database corruption.

Is (or was) the disk full? I have seen at least btrfs and xapian
interact badly if the database is being written when the disk gets full.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: