From: Chris Down Date: Tue, 22 Mar 2016 23:11:57 +0000 (+0000) Subject: Re: "The revision being read has been discarded - you should call Xapian::Database... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d14e93a34acb30a212d0c4e988673b4b396682ab;p=notmuch-archives.git Re: "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation" --- diff --git a/96/6296c9194118db0d2b849143af6fbb95393d6f b/96/6296c9194118db0d2b849143af6fbb95393d6f new file mode 100644 index 000000000..78c01767f --- /dev/null +++ b/96/6296c9194118db0d2b849143af6fbb95393d6f @@ -0,0 +1,98 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 543E66DE0217 + for ; Tue, 22 Mar 2016 16:12:07 -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 LSyeBstWWmSQ for ; + Tue, 22 Mar 2016 16:11:59 -0700 (PDT) +Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com + [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id 1C6ED6DE02A9 for + ; Tue, 22 Mar 2016 16:11:59 -0700 (PDT) +Received: by mail-wm0-f41.google.com with SMTP id l68so173589306wml.0 + for ; Tue, 22 Mar 2016 16:11:59 -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=q49kNnOfYHn1GEtsGrjadbzfBwg2MjJd+vbStXYAEM4=; + b=N8OVnC8r4IayxFjilp1WVPSJP6Na3wGxXFuJ8EQDk1S5mABScFtP9tqna+glMNf27A + 0UYT/+cerbCrzG0He8NsG1/bd4He0cHQo62ZSALyumYM7cmaXWIzjbBDMmG9gf0Ha8Em + USRHQgeT5D0xdilkczFDqASlN5DoDNuCSO0ho= +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=q49kNnOfYHn1GEtsGrjadbzfBwg2MjJd+vbStXYAEM4=; + b=j2NWU3YMLxhl4rdox3b+FxTHHYh0VqD4M+rq5MMMFDMEwTS9Tbp+9kHVNbc+CU2th3 + dpCtFGpJS1tNzvUtOQCyGQJi1948mLeOE9yUf44xW0qogYC7IbPgEiMMqw3iibXZ6AyJ + UlXm76pxgGhKpUag/2P9adDpRPjAQbBqkV//DZRclULaqlc+2ix4POzvYLkuEWd5I9AE + FZX9FpRiGSXmcEKWnXp7TZ51mLZZKwARH1mTUZIg/SrTtEDO4RN18k4yLi0eJqB2rTO5 + h+G6gq0JbPhp3BahS+KjU+dp+/TuUb5w8CzTLAHHWYw/n9c/b8kMC09m0K7g2MDLcoEj + +hyw== +X-Gm-Message-State: + AD7BkJLz6m1LGT6wxvkt9fH64JQZRf+cUnas9vx/+5mxtnxToQlMmQ4naH+Qg+o1d23tIUN5 +X-Received: by 10.194.187.71 with SMTP id fq7mr37071200wjc.97.1458688317509; + Tue, 22 Mar 2016 16:11:57 -0700 (PDT) +Received: from localhost ([213.205.251.85]) + by smtp.gmail.com with ESMTPSA id p189sm19512543wmb.7.2016.03.22.16.11.56 + (version=TLSv1/SSLv3 cipher=OTHER); + Tue, 22 Mar 2016 16:11:57 -0700 (PDT) +Date: Tue, 22 Mar 2016 23:11:57 +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: <20160322231157.GD2233@chrisdown.name> +References: <20160322171509.GA2233@chrisdown.name> + <87mvpql0d3.fsf@zancas.localnet> + <20160322205653.GC2233@chrisdown.name> + <87k2kuktuc.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii; format=flowed +Content-Disposition: inline +In-Reply-To: <87k2kuktuc.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 23:12:07 -0000 + +David Bremner writes: +>Very recent versions of xapian-check (1.3 +? not sure) have an option F to attempt to +>repair the database. That's about all I can think of. If you have a lot +>of effort in your metadata, you might ask on the xapian user list +>. + +Yeah, seems the version shipped with arch is still 1.2.22, presumably because +it's marked as the "stable release". I might just build a newer version from +source then, thanks for the tip. :-) + + % xapian-check --version + xapian-check - xapian-core 1.2.22 + % xapian-check -F Mail/Personal/.notmuch/xapian + option Mail/Personal/.notmuch/xapian unknown + use t,f,b,v and/or + in the option string + +I don't have much (read: any) effort in my metadata, so I guess I'll just +rebuild from scratch.