From: Chris Down <chris@chrisdown.name>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation"
Date: Tue, 22 Mar 2016 20:56:53 +0000 [thread overview]
Message-ID: <20160322205653.GC2233@chrisdown.name> (raw)
In-Reply-To: <87mvpql0d3.fsf@zancas.localnet>
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
next prev parent reply other threads:[~2016-03-22 20:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-22 17:15 "The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation" Chris Down
2016-03-22 20:32 ` David Bremner
2016-03-22 20:56 ` Chris Down [this message]
2016-03-22 22:53 ` David Bremner
2016-03-22 23:11 ` Chris Down
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160322205653.GC2233@chrisdown.name \
--to=chris@chrisdown.name \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).