unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Javier Garcia <javiertury@gmail.com>, notmuch@notmuchmail.org
Cc: xapian-discuss@lists.xapian.org,
	Patrick Totzke <patricktotzke@gmail.com>,
	Justus Winter <justus@sequoia-pgp.org>
Subject: Re: Database corruption after clean rebuild
Date: Sat, 07 Apr 2018 12:17:39 -0300	[thread overview]
Message-ID: <87r2nryrjg.fsf@tesseract.cs.unb.ca> (raw)
In-Reply-To: <5bde652e-8ffe-d43d-106d-a43c7a1b4126@gmail.com>

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

  reply	other threads:[~2018-04-07 15:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06 16:12 Database corruption after clean rebuild Javier Garcia
2018-04-07  1:49 ` David Bremner
2018-04-07  8:39   ` Javier Garcia
2018-04-07 10:51     ` David Bremner
2018-04-07 15:09       ` Javier Garcia
2018-04-07 15:17         ` David Bremner [this message]
2018-04-07 20:58           ` Olly Betts
2018-04-29 10:17         ` Gregor Zattler
2018-04-29 14:27           ` David Bremner
2018-04-29 18:54             ` Gregor Zattler

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=87r2nryrjg.fsf@tesseract.cs.unb.ca \
    --to=david@tethera.net \
    --cc=javiertury@gmail.com \
    --cc=justus@sequoia-pgp.org \
    --cc=notmuch@notmuchmail.org \
    --cc=patricktotzke@gmail.com \
    --cc=xapian-discuss@lists.xapian.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).