[Xapian-tickets] [Xapian] #399: ChertValueManager::get_value skips document after flush

Xapian nobody at xapian.org
Wed Sep 9 07:34:07 BST 2009


#399: ChertValueManager::get_value skips document after flush
---------------------------+------------------------------------------------
 Reporter:  rlane          |       Owner:  olly     
     Type:  defect         |      Status:  assigned 
 Priority:  normal         |   Milestone:  1.1.3    
Component:  Backend-Chert  |     Version:  SVN trunk
 Severity:  normal         |    Keywords:           
Blockedby:                 |    Platform:  All      
 Blocking:                 |  
---------------------------+------------------------------------------------
Changes (by olly):

  * status:  new => assigned
  * version:  => SVN trunk
  * milestone:  => 1.1.3


Comment:

 Looking at the database with xapian-inspect, it seems we manage to create
 a chunk for value 0 for document 2, and then a new chunk for value 0 for
 documents 1 and 3, which is wrong - we should be rewriting the existing
 chunk.

 Then when we look for value 0 for document 3, we look in the chunk for
 document 2 (since that's the largest chunk start <= 3) and don't find it.

 Needs fixing for 1.1.3.

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



More information about the Xapian-tickets mailing list