]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: v1: fix retries when Xapian and Msgmap are out-of-sync
authorEric Wong <e@yhbt.net>
Fri, 5 Jun 2020 02:01:10 +0000 (02:01 +0000)
committerEric Wong <e@yhbt.net>
Fri, 5 Jun 2020 06:28:10 +0000 (06:28 +0000)
commit5df08b6cd4931e87c1cf676014256d00e3cdfc2c
tree5abe6e4fb2c4975dab8bf8d051e05308615014a9
parentdf20a9c0c72433f027bc99c019b7e270ed3f105c
searchidx: v1: fix retries when Xapian and Msgmap are out-of-sync

We forcibly stop git-log here, so erroring out on git-log close
failures is wrong since it sees SIGPIPE.  Noticed while
reindexing a large v1 inbox for IMAP changes.

Fixes: b32b47fb12a3043d ("index: "git log" failures are fatal")
lib/PublicInbox/SearchIdx.pm