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