[Xapian-tickets] [Xapian] #648: Allow readers to lock revisions
Xapian
nobody at xapian.org
Mon Jul 28 05:20:07 BST 2014
#648: Allow readers to lock revisions
---------------------------+------------------------------
Reporter: olly | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.3.3
Component: Backend-Brass | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+------------------------------
\
\
\
\
\
\
Comment (by olly):
In #40, the following approach is suggested:
> [If] readers use fcntl locking on a single byte corresponding to the
revision they're using (bytes off the end of the file can be locked, and
shared locks on read-only files are ok). Then a writer would only delete
old revisions for which it could obtain an exclusive lock (otherwise it
would preserve them).
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/648#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list