]> Sergey Matveev's repositories - public-inbox.git/commit
lei note-event: ignore kw_changed exceptions
authorEric Wong <e@80x24.org>
Sun, 26 Sep 2021 00:02:32 +0000 (00:02 +0000)
committerEric Wong <e@80x24.org>
Sun, 26 Sep 2021 00:06:30 +0000 (00:06 +0000)
commitbf7fdfe4b939c3a97b20fd3e9b65c9cd493a692d
tree39f6f1681b409f1489aba56ddd3eae7c122738d7
parent69225ecae508b9bb83960ac51e38d7d5eade2a6a
lei note-event: ignore kw_changed exceptions

The note-event worker may see changes before a Xapian shard
commit happens, meaning keyword lookups fail as a result.
Just emit the request to the lei/store worker since it's a
fairly cheap operation at this point.

We'll try harder to look for kw changes, too, since
deduplication changes may lead to multiple docids being
resolved for a single message.
lib/PublicInbox/LeiNoteEvent.pm
lib/PublicInbox/LeiSearch.pm