[Xapian-tickets] [Xapian] #746: Locking Behavior Documentation Out of Date
Xapian
nobody at xapian.org
Wed Apr 12 03:41:21 BST 2017
#746: Locking Behavior Documentation Out of Date
---------------------------+---------------------------
Reporter: tim | Owner: olly
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Documentation | Version:
Severity: normal | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+---------------------------
Changes (by olly):
* status: new => closed
* resolution: => fixed
Comment:
I've pushed a fix - new wording is:
{{{
One unusual feature of Xapian's locking mechanism (at least on POSIX
operating systems other than Linux) is that Xapian forks a subprocess to
hold
the lock, rather than holding it in the main process. This is to avoid
the
lock being accidentally released due to the slightly unhelpful semantics
of
fcntl locks. Linux kernel 3.15 added new OFD fcntl locks which have more
helpful semantics which Xapian uses in preference, avoiding the need to
fork
a subprocess to hold the lock.
}}}
Thanks for reporting.
--
Ticket URL: <https://trac.xapian.org/ticket/746#comment:1>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list