Re: "The revision being read has been discarded - you should call Xapian::Database...
authorChris Down <chris@chrisdown.name>
Tue, 22 Mar 2016 20:56:53 +0000 (20:56 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:22 +0000 (16:21 -0700)
61/307a6c7b3af563d4d6ec63d398dfa685cbd4f7 [new file with mode: 0644]

diff --git a/61/307a6c7b3af563d4d6ec63d398dfa685cbd4f7 b/61/307a6c7b3af563d4d6ec63d398dfa685cbd4f7
new file mode 100644 (file)
index 0000000..ab63b3f
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path: <chris@chrisdown.name>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 82CB66DE02A9\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 13:57:03 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.821\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.821 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id nCQzJ6LmsmDX for <notmuch@notmuchmail.org>;\r
+ Tue, 22 Mar 2016 13:56:55 -0700 (PDT)\r
+Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com\r
+ [74.125.82.50]) by arlo.cworth.org (Postfix) with ESMTPS id 564086DE0217 for\r
+ <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 13:56:55 -0700 (PDT)\r
+Received: by mail-wm0-f50.google.com with SMTP id p65so180354301wmp.0\r
+ for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 13:56:55 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=chrisdown.name; s=google;\r
+ h=date:from:to:cc:subject:message-id:references:mime-version\r
+ :content-disposition:in-reply-to:user-agent;\r
+ bh=N9r+8yJ+uIvThdSQTWWdUA0x3mIk7IgNEfk4AlwvQ8I=;\r
+ b=AC+zJhPuQtRuWYL/967uy0Wdg8WSqPtfrmzTSChdECE55W4wC/z9QOFMCSQF8CClma\r
+ DLvCYQS08AxCvAqvqwFVqaq3BBbV06vdkySlf314YpF/uGDnXgxrW/yzJFbr38rWzrw8\r
+ vaSMusyiI/Zr+qbt1mOXl846eqL0yTgG15dU4=\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:date:from:to:cc:subject:message-id:references\r
+ :mime-version:content-disposition:in-reply-to:user-agent;\r
+ bh=N9r+8yJ+uIvThdSQTWWdUA0x3mIk7IgNEfk4AlwvQ8I=;\r
+ b=BSOCRVD1KtaX15DwbUUYb2yPuquEK83nPQEnjXEGrJ8zKno+uQxMZjUHs1ca7bJEjK\r
+ B3wvXHBEQ79qtpZX+cxxCvOuZg/eTDQTFcgJSJ46NT+6HSQMcwp9G/YFwUMD+Fg/DLZ1\r
+ vCyPrSxemXk5tKFOpWI2Pt20LhGOeXRI8O+YRFyNdWtsrMbVZEvxQ09QrJM2opV4Fwiq\r
+ CjMo7XN2aU6fE16bjFPsnuHuEexrwGJI0ySUUNA5/vemuPw+NVmJwNNdyc+xghBwlcGv\r
+ PrA7GUsQ8hTahROzLleBD+W4RUI3BaIwJZcgk6ongRUmqm1y675m28GqVM2MdN9jLLbd\r
+ rN+w==\r
+X-Gm-Message-State:\r
+ AD7BkJLfa2Wbanm+g+8biKqL1z9EYoa0gEfBthI8MXu+A6qh4vcpv6yHrJ3Tzf4f0rIaJPPA\r
+X-Received: by 10.194.61.169 with SMTP id q9mr38204201wjr.77.1458680213307;\r
+ Tue, 22 Mar 2016 13:56:53 -0700 (PDT)\r
+Received: from localhost (82-132-226-86.dab.02.net. [82.132.226.86])\r
+ by smtp.gmail.com with ESMTPSA id js8sm31820471wjc.37.2016.03.22.13.56.52\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Tue, 22 Mar 2016 13:56:52 -0700 (PDT)\r
+Date: Tue, 22 Mar 2016 20:56:53 +0000\r
+From: Chris Down <chris@chrisdown.name>\r
+To: David Bremner <david@tethera.net>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: "The revision being read has been discarded - you should call\r
+ Xapian::Database::reopen() and retry the operation"\r
+Message-ID: <20160322205653.GC2233@chrisdown.name>\r
+References: <20160322171509.GA2233@chrisdown.name>\r
+ <87mvpql0d3.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii; format=flowed\r
+Content-Disposition: inline\r
+In-Reply-To: <87mvpql0d3.fsf@zancas.localnet>\r
+User-Agent: Mutt/1.5.24 (2015-08-30)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 22 Mar 2016 20:57:03 -0000\r
+\r
+David Bremner writes:\r
+>You could try running xapian-check $MAILDIR/.notmuch/xapian\r
+\r
+Well, that settles it then:\r
+\r
+    % xapian-check Mail/Facebook/.notmuch/xapian\r
+    Database couldn't be opened for reading: DatabaseModifiedError: The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation\r
+    Continuing check anyway\r
+    Cross-checking document lengths between the postlist and termlist tables would use more than 1GB of memory, so skipping that check\r
+    record:\r
+    baseB blocksize=8K items=33895 lastblock=97 revision=19845 levels=1 root=97\r
+    B-tree checked okay\r
+    record table structure checked OK\r
+\r
+    termlist:\r
+    xapian-check: DatabaseCorruptError: Db block overwritten - are there multiple writers?\r
+\r
+>It might be a good idea to make a backup with notmuch dump; this is a\r
+>read-only operation so it should not make things worse.\r
+\r
+Seems that that fatals for the same reason:\r
+\r
+    % NOTMUCH_CONFIG=.config/notmuch/personal notmuch dump\r
+    A Xapian exception occurred opening database: Db block overwritten - are there multiple writers?\r
+\r
+I guess my best bet is to start with a fresh notmuch setup for this maildir?\r
+\r
+Thanks for your help, David. I appreciate that. :-)\r
+\r
+Chris\r