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

Xapian nobody at xapian.org
Thu Jul 24 12:11:01 BST 2008


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

Comment(by mrks):

 > Do we know what the reader is doing when the error occurs?

 The exception occurs during my (perl-API) get_mset() call.

 > One possibility that occurred to me is that the reopen() call itself is
 throwing the error.

 Not in my code anyway. My (perl-API) reopen() returns before the exception
 gets thrown.

 I wrapped my calls and logged as follows:

 {{{
 (6223) reopen() begin
 (6223) reopen() end
 (6223) get_mset() begin
 (6223) get_mset() end
 (6223) reopen() begin
 (6223) reopen() end
 (6223) get_mset() begin
 (6223) Xapian::DatabaseModifiedError: in set_overwritten    # <- this line
 comes from my patched xapian lib
 terminate called after throwing an instance of
 'Xapian::DatabaseModifiedError'
 }}}

 (The number in brackets is the PID of the process, to be sure that nothing
 gets mixed up.)

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



More information about the Xapian-tickets mailing list