[Xapian-tickets] [Xapian] #397: ChertPostListTable::get_doclength skips new documents after flush

Xapian nobody at xapian.org
Wed Sep 9 02:58:44 BST 2009


#397: ChertPostListTable::get_doclength skips new documents after flush
---------------------------+------------------------------------------------
 Reporter:  rlane          |        Owner:  olly     
     Type:  defect         |       Status:  closed   
 Priority:  normal         |    Milestone:  1.1.3    
Component:  Backend-Chert  |      Version:  SVN trunk
 Severity:  normal         |   Resolution:  fixed    
 Keywords:                 |    Blockedby:           
 Platform:  All            |     Blocking:           
---------------------------+------------------------------------------------
Changes (by olly):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 The cursor isn't going to be valid for the new table revision, so
 resetting doclen_pl on flush() is the appropriate fix, and makes your
 testcase pass.

 Comitted to trunk in r13445.  Chert-only, so nothing to backport.

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



More information about the Xapian-tickets mailing list