]> Sergey Matveev's repositories - public-inbox.git/commit
workaround Xapian OFD locks w/o close-on-exec
authorEric Wong <e@80x24.org>
Thu, 24 May 2018 08:32:16 +0000 (08:32 +0000)
committerEric Wong <e@80x24.org>
Thu, 24 May 2018 08:32:42 +0000 (08:32 +0000)
commitc339a14b11c57e7b330f4efef6903bcbea2b3463
tree250bb9b45fb76fbe4057cfd4a7ba087152e14a51
parent62620b9437bfd0f212ad8113d4f51aa079d0d142
workaround Xapian OFD locks w/o close-on-exec

Xapian v1.2.21..v1.2.24 (inclusive) use OFD locks but failed to
set the close-on-exec flag on those locks.  So we must continue
to work around those old versions by ensuring Xapian file
descriptors aren't held any longer than necessary when in
long-running git processes.

Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
lib/PublicInbox/SearchIdx.pm
t/convert-compact.t
t/v2mirror.t