]> Sergey Matveev's repositories - public-inbox.git/commitdiff
search: retry document loading from Xapian
authorEric Wong <e@80x24.org>
Sat, 10 Dec 2016 23:35:43 +0000 (23:35 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Dec 2016 23:44:10 +0000 (23:44 +0000)
In addition to needing to retry enquire queries, we also need
to protect document loading from the Xapian DB and retry on
modification, as it seems to throw the same errors.

Checking the $@ ref for Search::Xapian::DatabaseModifiedError
is actually in the test suite for both the XS and SWIG Xapian
bindings, so we should be good as far as forward/backwards
compatibility.


No differences found