From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id C813D6DE098B for ; Sun, 31 Dec 2017 12:02:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.436 X-Spam-Level: X-Spam-Status: No, score=0.436 tagged_above=-999 required=5 tests=[AWL=-0.197, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QYBpu6QbAHQQ for ; Sun, 31 Dec 2017 12:02:01 -0800 (PST) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by arlo.cworth.org (Postfix) with ESMTPS id D79666DE009B for ; Sun, 31 Dec 2017 12:02:00 -0800 (PST) Received: by mail-wm0-f46.google.com with SMTP id 9so55590183wme.4 for ; Sun, 31 Dec 2017 12:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=JPeLj8RKZns1UJPqHNDxRODUDnT2Jj/YxXuiZlYgnUs=; b=fn09seYeszPMGV1SdWSRgC2rYAHJUC6TCCUcrE69H77bECwJ6C6hLwmsVPeG76ef2h WTH9U45llbAQDpHQ8+gdk0iHo7p7AIwJ26VYC631o62ZPrMJyT+3VItq98FwDwXbWPkA tSZMnRPFyZtVdH1LlXg/1L5Wf/s5/aVA3Vwve0CKsZB6xwGkZbh4xoWJdSYw1xKQBire taLDL8gu/IsOqFwOvzVCypL1sWSxS26HY5BkpqAdC4UHwQm1y5LGl083bJvxAxBlLfT+ 6TyZxjZyQMZzv+YVOGnSc54EEBZH/Qof52sYl3zZkCRSZDcXVkBhObRVC6uRHDrnrnpU eK/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=JPeLj8RKZns1UJPqHNDxRODUDnT2Jj/YxXuiZlYgnUs=; b=gSN+FDOHigds0vqjpuZwJQpiAzUdjlO0Tj01kahTLK+lcpYPdTMumdD1hwWgsACthz 6Z5G3cFc0Rv1R1qNI6GdhnqheORvuo0o5SoQtBAtmnQ54nZX03E9VhFtHG7JFZAz+yoy 2r3QFQKo64zJfNMLNIvVb5COe4Ovyhm0oUbidZhNusC83tLF5meF6fsEdGeUwSuDHm5j qnCuUHsyjoj7pPfn84iZq8D0lDgRGbvDTUqeox2Zn8/SGax+gzaUx2l15BnqiZ0RtKNT nQD8U/R5pMjyzXptPU04wRXvycAa6ecGU9lIIb7xQIH/PqoQJDBbmKUW0RT3+Beo7/tZ 3ZFQ== X-Gm-Message-State: AKGB3mLo8m0dMQV4Vokis+zQJhai07T6yKG6rNaj2U+U8WoNzgGYSXwn Ce7KF8OspnUJoTfn4z6qiaPq79R+NAs= X-Google-Smtp-Source: ACJfBosN3wmDBR8h8IHRbcDIUDzxSQPhnQpUFyL0pyx/o/3+kbCr7uLykXXHWSk0zEAMgTiaQrP+9A== X-Received: by 10.28.116.19 with SMTP id p19mr20907226wmc.152.1514750518605; Sun, 31 Dec 2017 12:01:58 -0800 (PST) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [81.149.164.25]) by smtp.gmail.com with ESMTPSA id a126sm11813820wma.11.2017.12.31.12.01.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Dec 2017 12:01:57 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id a142ad90; Sun, 31 Dec 2017 20:01:57 +0000 (UTC) To: David Bremner , notmuch@notmuchmail.org Subject: Re: Xapian exception leading to database corruption In-Reply-To: References: <87608q1eef.fsf@tethera.net> X-HGTTG: zarniwoop From: David Edmondson Date: Sun, 31 Dec 2017 20:01:56 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2017 20:02:01 -0000 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.