I doubt that my test case really reproduces the problem I am seeing in the wild. As predicted I've seen anoter xapian database corrupt itself, and xapain-check finds different problems.
pell:/tmp/xapian/default# xapian-check . record: baseA blocksize=8K items=2517 lastblock=118 revision=5470 levels=1 root=4 B-tree checked okay record table structure checked OK termlist: baseA blocksize=8K items=2517 lastblock=294 revision=5470 levels=1 root=5 B-tree checked okay termlist table structure checked OK postlist: baseA blocksize=8K items=51882 lastblock=1033 revision=5470 levels=2 root=8 B-tree error 90 xapian-check: btree error I have put a tarball of this database up here: http://tmp.kitenet.net/xapian-2.tar.gz -- see shy jo
signature.asc
Description: Digital signature