]> Sergey Matveev's repositories - public-inbox.git/commit
extsearchidx: reindex releases over.sqlite3 handles properly
authorEric Wong <e@80x24.org>
Tue, 15 Dec 2020 02:02:23 +0000 (02:02 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Dec 2020 19:13:15 +0000 (19:13 +0000)
commitc1b98f98edfc8a023609890a1cfe856579819926
tree70c7f3bac77e9a9d6d6a6a91e4707d4f483704d4
parent75ffc6a266699e465471adf5992d36a1db8dc1ae
extsearchidx: reindex releases over.sqlite3 handles properly

When checkpointing and yielding the lock to other processes,
we need to ensure any open DB statement handles are closed,
since they reference and prevent DB FDs from being closed
and unlocked.

And clean up some progress reporting while we're at it.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/V2Writable.pm