[Xapian-tickets] [Xapian] #275: Opening a writable database should retry if database is locked

Xapian nobody at xapian.org
Fri Dec 20 04:35:50 GMT 2013


#275: Opening a writable database should retry if database is locked
-------------------------+------------------------------
 Reporter:  richard      |             Owner:  olly
     Type:  enhancement  |            Status:  new
 Priority:  low          |         Milestone:  1.3.3
Component:  Library API  |           Version:  SVN trunk
 Severity:  minor        |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------
\
\
\
\
Changes (by olly):

 * milestone:  1.3.x => 1.3.3

\
\
\

Comment:

 Now we have flags passed to the !WritableDatabase constructor, this could
 be implemented as something like:

 {{{
 #!cpp
     Xapian::WritableDatabase db("/path/to/db", Xapian::DB_BLOCK);
 }}}

 Not sure if that's the best name - perhaps DB_RETRY is clearer.
\
\
\

--
Ticket URL: <http://trac.xapian.org/ticket/275#comment:4>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list