[Xapian-tickets] [Xapian] #284: occasional DatabaseModifiedErrors

Xapian nobody at xapian.org
Thu Apr 9 20:00:39 BST 2009


#284: occasional DatabaseModifiedErrors
---------------------------+------------------------------------------------
 Reporter:  mrks           |        Owner:  olly     
     Type:  defect         |       Status:  assigned 
 Priority:  normal         |    Milestone:  1.1.1    
Component:  Backend-Flint  |      Version:  SVN trunk
 Severity:  normal         |   Resolution:           
 Keywords:                 |    Blockedby:           
 Platform:  Linux          |     Blocking:           
---------------------------+------------------------------------------------

Comment(by richard):

 The obvious possible fixes are:

 i) Have up to _three_ old revisions in use, rather than just 2.  This
 would extend the period of time until reopen() is needed to the intended
 length of "the time between commits".  However, it would result in
 database bloat increasing, since the number of blocks which cannot be used
 between commits would increase.

 ii) Implementing read locks and ensuring that we never overwrite a block
 used by a revision which is locked.  This would certainly be cool, but is
 lots of work.

 Any others?

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



More information about the Xapian-tickets mailing list