automatic reopen + retry on DatabaseModifiedError

Eric Wong <[email protected]> Sat, 10 Dec 2016 23:42:49 +0000
Newsgroups gmane.comp.search.xapian.devel
Message-ID <20161210234249.GA15604@untitled>
Hello, is there a reason Xapian does not have any way to
automatically reopen + retry on DatabaseModifiedError
exceptions? 

 (It would even be preferential to return stale data...)


I'm dealing with Search::Xapian::DatabaseModifiedError exceptions
in public-inbox[1] and going through the code to make sure there's
no more places it could fire.  But at this point, it seems like
whack-a-mole and I'm not sure if I've found everything.

[1] https://public-inbox.org/meta/[email protected]/