Re: notmuch python bindings corrupt db index (was: gmail importer script)

Subject: Re: notmuch python bindings corrupt db index (was: gmail importer script)

Date: Thu, 13 Dec 2012 15:32:53 +0100

To: Austin Clements

Cc: notmuch@notmuchmail.org

From: Jason A. Donenfeld


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.


Austin-- think you could do a quick review of the script to double
check and confirm I'm not doing anything nefarious?
http://git.zx2c4.com/gmail-notmuch/tree/gmail-notmuch.py

Thread: