Re: How to recover from this permanent fatal error?

Felipe Contreras <[email protected]> Sun, 6 Jun 2021 07:48:39 -0500
Newsgroups gmane.mail.notmuch.general,gmane.comp.search.xapian.general
Message-ID <CAMP44s3++2o8PLiMy8Lc45RbdyQ5+8zsCzBizK8CtMvo5hG0VQ@mail.gmail.com>
On Sun, Jun 6, 2021 at 5:08 AM Olly Betts <[email protected]> wrote:

> You could try commenting out the body of GlassTable::set_overwritten()
> in xapian-core/backends/glass/glass_table.cc so it keeps going instead
> of throwing this exception, which might allow it to usefully recover
> some or all tags.  If you (or anyone) try that and it works let me know
> and I can patch the branch to emit a warning message and continue there.

Now I get this:

termlist:
blocksize=8K items=687440 firstunused=152676 revision=2 levels=2 root=749
/home/felipec/contrib/xapian/xapian-core/bin/.libs/lt-xapian-check:
DatabaseError: Block 152676: used more than once in the Btree

-- 
Felipe Contreras