From: David Edmondson <dme@dme.org>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: Xapian exception leading to database corruption
Date: Sun, 31 Dec 2017 20:01:56 +0000 [thread overview]
Message-ID: <m2y3lipsy3.fsf@dme.org> (raw)
In-Reply-To: <m2bmihes1p.fsf@dme.org>
On Friday, 2017-12-29 at 10:40:02 UTC, David Edmondson wrote:
>>> Any suggestions? Is it possible to force a new chert database to be
>>> created rather than glass? (Mostly I'd like to get back to work!)
>>
>> According to Olly Betts,
>>
>> With 1.4 you can pass Xapian::DB_BACKEND_CHERT in the flags when
>> constructing the WritableDatabase object.
>>
>> So you'd have to hack the notmuch source, I'm guessing around line 55 of
>> database.cc
>>
>> #define DB_ACTION (Xapian::DB_CREATE_OR_OPEN | Xapian::DB_RETRY_LOCK | Xapian::DB_BACKEND_CHERT)
This worked and the initial scan ran through to completion (making
faster progress than the glass based version).
dme.
--
You can't hide from the flipside.
prev parent reply other threads:[~2017-12-31 20:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-28 22:54 Xapian exception leading to database corruption David Edmondson
2017-12-29 2:00 ` David Bremner
2017-12-29 10:40 ` David Edmondson
2017-12-31 20:01 ` David Edmondson [this message]
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=m2y3lipsy3.fsf@dme.org \
--to=dme@dme.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).