Database corruption after clean rebuild

Gregor Zattler telegraph at gmx.net
Sun Apr 29 11:54:25 PDT 2018


Hi David,
* David Bremner <david at tethera.net> [2018-04-29; 11:27]:
> Gregor Zattler <telegraph at gmx.net> writes:
>> I also had this database corruption, I waited for the fix to land
>> in notmuch 0.26.2, build it, moved the xapian directory away, did
>> a notmuch new and restored the tags from a dump.  But the problem
>> remains:
>>
>> ~$ xapian-check ~/Mail/.notmuch/xapian
>> docdata:
>> blocksize=8K items=10841 firstunused=75 revision=82 levels=1 root=2
>> B-tree checked okay
>> docdata table structure checked OK
>>
>> termlist:
>> blocksize=8K items=1893162 firstunused=368983 revision=82 levels=3 root=177608
>> xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0
>
> This is a known bug in Xapian, fixed in xapian master. The message will
> go away if you run notmuch-compact, or you can just ignore it.

OK, thanks.  Gregor



More information about the notmuch mailing list