about summary refs log tree commit homepage
path: root/lib/PublicInbox/MsgIter.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-23 05:53:03 +0000
committerEric Wong <e@80x24.org>2021-09-23 06:21:41 +0000
commit4f68a139bff916b27eaa894caa87aee08ecb4e44 (patch)
tree721f4ecdf3b6653c5a922599ea581ced267cd6dd /lib/PublicInbox/MsgIter.pm
parent76f5361d8b8d2bea828ac66dc98a0de24b761b3d (diff)
downloadpublic-inbox-4f68a139bff916b27eaa894caa87aee08ecb4e44.tar.gz
It's possible for the rename() sequence to cause read-only
daemons using ->xdb_shards_flat to load an incomplete set of
contiguous shards and get invalid docids for search results.

With this change, we favor the case where search is momentarily
unavailable rather than giving wrong results during the small
window where Xapcmd->commit_changes runs.
Diffstat (limited to 'lib/PublicInbox/MsgIter.pm')
0 files changed, 0 insertions, 0 deletions