unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Patrick Totzke <patricktotzke@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: notmuch python bindings corrupt db index (was: gmail importer script)
Date: Tue, 11 Dec 2012 14:47:32 +0100	[thread overview]
Message-ID: <CAHmME9phAD0JKHDf+1KuCPyo4WXpDW5NESAE_iT3Ruv3bEVCuw@mail.gmail.com> (raw)

On Tue, Dec 11, 2012 at 11:04 AM, Patrick Totzke
<patricktotzke@gmail.com> wrote:
> I ended up killing the process after i saw that ETA was >3h.

Gmail's bottleneck. Very unfortunate. Leave it going over night.

> This broke my index!
>
> afterwards, a `notmuch new` printed
>
> A Xapian exception occurred creating a directory: Expected block
> 485 to be level 1, not 0.
>
> I wasnt able to properly read the index anymore and had to
> restore an old index dump. not cool!


Can you provide any more information about this? The script properly
uses atomic transactions. Any corruption here is the result of a
notmuch library bug, which should be investigated.

             reply	other threads:[~2012-12-11 13:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 13:47 Jason A. Donenfeld [this message]
2012-12-11 18:26 ` notmuch python bindings corrupt db index (was: gmail importer script) Patrick Totzke
2012-12-12 18:35   ` Jason A. Donenfeld
2012-12-12 20:49     ` Austin Clements
2012-12-12 21:26       ` David Bremner
2012-12-13 14:33         ` Jason A. Donenfeld
2012-12-13 14:32       ` Jason A. Donenfeld
2012-12-13 16:16         ` Patrick Totzke
2012-12-15  6:18         ` Austin Clements
2012-12-15  8:25           ` Jason A. Donenfeld

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=CAHmME9phAD0JKHDf+1KuCPyo4WXpDW5NESAE_iT3Ruv3bEVCuw@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=notmuch@notmuchmail.org \
    --cc=patricktotzke@gmail.com \
    /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).