Re: Xapian exception leading to database corruption

Subject: Re: Xapian exception leading to database corruption

Date: Sun, 31 Dec 2017 20:01:56 +0000

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: David Edmondson


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.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: