Re: Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python)

Subject: Re: Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python)

Date: Wed, 18 Nov 2020 12:12:55 -0300

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Jorge P. de Morais Neto


Em [2020-11-18 qua 10:52:43-0400], David Bremner escreveu:

> "Jorge P. de Morais Neto" <jorge+list@disroot.org> writes:
>>
>> I have also saved the binary corrupted database.  If you want to see it,
>> then tell me and I may upload it to Disroot's Lufi instance.  It should
>> probably be shown to as few people as possible for the sake of my
>> privacy.
>
> Can you run xapian-check on the corrupted database?
>
> You should not have to put it anywher that will interfere with notmuch
> for that, just point xapian-check to the directory containing the backup
> copy of the database.

xapian-check (from buster xapian-tools, which is version 1.4.11) found
no errors.  Note that the database directory is named "compact_backup"
because, when I tried compacting the database to fix the error, I
invoked
    $ notmuch compact --backup=compact_backup

--8<---------------cut here---------------start------------->8---
$ xapian-check compact_backup/
docdata:
blocksize=8K items=84 firstunused=1 revision=20879 levels=0 root=0
B-tree checked okay
docdata table structure checked OK

termlist:
blocksize=8K items=125188 firstunused=15901 revision=20879 levels=2 root=15862
B-tree checked okay
termlist table structure checked OK

postlist:
blocksize=8K items=952837 firstunused=24179 revision=20879 levels=2 root=12823
B-tree checked okay
postlist table structure checked OK

position:
blocksize=8K items=12120294 firstunused=46553 revision=20879 levels=2 root=44626
B-tree checked okay
position table structure checked OK

spelling:
Lazily created, and not yet used.

synonym:
Lazily created, and not yet used.

No errors found
--8<---------------cut here---------------end--------------->8---

Regards
-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- If an email of mine arrives at your spam box, please notify me.
- Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: