]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: fix w/ Xapian 1.2.21..1.2.24
authorEric Wong <e@yhbt.net>
Sun, 17 Jan 2021 07:09:59 +0000 (07:09 +0000)
committerEric Wong <e@80x24.org>
Mon, 18 Jan 2021 09:25:12 +0000 (09:25 +0000)
commit597bf28a21da8e89e044090918c0a1ad74efb8b9
tree0c0bedd892cc73ff2e5c47696cd69e0f01675300
parent6b498db4b518938e32d7feff85816f3c6dcf3651
extindex: fix w/ Xapian 1.2.21..1.2.24

Xapian v1.2.21..v1.2.24 failed to set the close-on-exec flag
on the flintlock FD, causing "git cat-file" processes to
hold onto the lock and prevent subsequent Xapian::WritableDatabase
from locking the DB.  So cleanup git processes after committing
the miscidx transaction.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm