Eric Wong <[email protected]> wrote:
> +     my $cb = sub {
> +             my ($commit, $more) = @_;
> +             $xdb->set_metadata($mkey, $commit) if $mkey && $commit;
> +             if ($dbh) {
> +                     $mm->last_commit($commit) if $commit;
> +                     $dbh->commit;
> +             }
> +             _xdb_release($self);
> +             # let another process do some work...
> +             $dbh->begin_work if $dbh && $more;

Bleh, this release/acquire breaks newer versions of Xapian
(tested from Debian jessie-backports and sid) since the FD
flintlock doesn't have O_CLOEXEC set and "git log" is still
running at this point and holding the F_OFD_SETLK and friends.

Might be a bug to fix in Xapian...

> +             $xdb = _xdb_acquire($self);
> +     };
--
unsubscribe: [email protected]
archive: https://public-inbox.org/meta/

Reply via email to