From: Jorge P. de Morais Neto <jorge+list@disroot.org>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
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 [thread overview]
Message-ID: <873616k8aw.fsf@disroot.org> (raw)
In-Reply-To: <874klm67k4.fsf@tethera.net>
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?]]
next prev parent reply other threads:[~2020-11-18 15:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 13:29 Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python) Jorge P. de Morais Neto
2020-11-18 14:52 ` David Bremner
2020-11-18 15:12 ` Jorge P. de Morais Neto [this message]
2020-11-18 19:41 ` David Bremner
2020-11-18 20:48 ` Jorge P. de Morais Neto
-- strict thread matches above, loose matches on Subject: below --
2020-11-17 19:19 Jorge P. de Morais Neto
2020-11-17 19:17 Jorge P. de Morais Neto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873616k8aw.fsf@disroot.org \
--to=jorge+list@disroot.org \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).