Prior to 9ad19e4454f there was an unhandled Xapian exception when reindexing after a large number of deletes. This test was used for bisection, and will subsequently serve as a regression test. --- It turns out my original assessment of the situation was correct. Whatever the problem was, the delete performance optimization changes fixed it. test/T700-reindex.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index f51130e8..3b0f893e 100755 --- a/test/T700-reindex.sh +++ b/test/T700-reindex.sh @@ -83,4 +83,11 @@ notmuch reindex '*' notmuch search '*' | notmuch_search_sanitize > OUTPUT test_expect_equal_file EXPECTED OUTPUT + +test_begin_subtest "reindex after removing corpus" +tar cf backup.tar mail/cur +find mail/cur -type f -delete +test_expect_success "notmuch reindex '*'" +tar xf backup.tar + test_done -- 2.30.2 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org