]> Sergey Matveev's repositories - public-inbox.git/commit
extsearchidx: lock eidxq on full --reindex
authorEric Wong <e@80x24.org>
Wed, 16 Dec 2020 23:04:53 +0000 (23:04 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Dec 2020 19:38:31 +0000 (19:38 +0000)
commit6ee3a22a0b075890b862063652919913196ffdae
treecf03cc430303bb40f63677d156597f1afafcb5d0
parent6b8441407e495e9c8fcd9c31f60654ed8c7d786e
extsearchidx: lock eidxq on full --reindex

Incremental indexing can use the `eidxq' reindexing queue for
handling deletes and resuming interrupted indexing.  Ensure
those incremental -extindex invocations do not steal (and
prematurely perform) work that an "-extindex --reindex"
invocation is handling.
lib/PublicInbox/ExtSearchIdx.pm