Re: Database corruption after clean rebuild

Subject: Re: Database corruption after clean rebuild

Date: Sat, 07 Apr 2018 12:17:39 -0300

To: Javier Garcia, notmuch@notmuchmail.org

Cc: xapian-discuss@lists.xapian.org

From: David Bremner


Javier Garcia <javiertury@gmail.com> writes:

> Unfortunately I can't share my emails without the approval of other
> parties. The minimum subsets that trigger the error are in the range of
> 1000-5000 mails, so asking each and everyone of them is out of my reach.
> I tried to replicate the problem using just spam folders without success.
>
> The following is a solid workaround I've stumbled upon. Afew no longer
> complains and database corruption is gone.
>
> $ notmuch compact
> $ xapian-check ~/.mail/.notmuch/xapian
>    <check messages>
>    No errors found

Right, I should have thought of compaction, that's a workaround Olly
mentioned before. That strongly suggests that you are hitting the known
Xapian bug.


d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: