unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Patrick Totzke <patricktotzke@gmail.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>,
	Austin Clements <amdragon@mit.edu>
Cc: notmuch@notmuchmail.org
Subject: Re: notmuch python bindings corrupt db index (was: gmail importer script)
Date: Thu, 13 Dec 2012 16:16:00 +0000	[thread overview]
Message-ID: <20121213161600.28349.42261@megatron> (raw)
In-Reply-To: <CAHmME9q-NbhRC=Be20aW5Vz+swou419zJxZD4O-3PSTJr+K=iQ@mail.gmail.com>

Quoting Jason A. Donenfeld (2012-12-13 14:32:53)
> On Wed, Dec 12, 2012 at 9:49 PM, Austin Clements <amdragon@mit.edu> wrote:
> > There should be no way to corrupt the database at this level through
> > the Xapian API, which means nothing libnotmuch can do (much less users
> > of libnotmuch) should be able to corrupt the database.  If you can
> > reproduce the problem, it's probably a serious bug in Xapian, but it
> > could also have been a file system bug or even random file system
> > corruption.
> 
> Well that's... troubling.
> 
> Patrick: could you please backup and try to reproduce? Otherwise I'll
> assume this was a one-off situation.


I tried it again, concurrently triggered some modifications
and killed the process afer a while.
(my modifications were not flushed during the run of your script as
the index was locked)
The index seems to be OK. So I'm afraid I cannot reproduce this reliably.
/p

  reply	other threads:[~2012-12-13 16:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 13:47 notmuch python bindings corrupt db index (was: gmail importer script) Jason A. Donenfeld
2012-12-11 18:26 ` 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 [this message]
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=20121213161600.28349.42261@megatron \
    --to=patricktotzke@gmail.com \
    --cc=Jason@zx2c4.com \
    --cc=amdragon@mit.edu \
    --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).