[Xapian-tickets] [Xapian] #427: xapian-compact results in corrupt postlist table (test data included)

Xapian nobody at xapian.org
Tue Jan 26 22:26:41 GMT 2010


#427: xapian-compact results in corrupt postlist table (test data included)
---------------------------+------------------------------------------------
 Reporter:  Henry          |       Owner:  olly     
     Type:  defect         |      Status:  assigned 
 Priority:  normal         |   Milestone:  1.1.4    
Component:  Backend-Chert  |     Version:  SVN trunk
 Severity:  normal         |    Keywords:           
Blockedby:                 |    Platform:  Linux    
 Blocking:                 |  
---------------------------+------------------------------------------------
Changes (by olly):

  * status:  new => assigned
  * component:  Other => Backend-Chert
  * severity:  major => normal
  * milestone:  => 1.1.4


Comment:

 I found a more minimal example - the spelling and position tables aren't
 relevant, and neither is temp.index1.  This reproduces the issue:

 {{{
 #!sh
 $ rm -rf index1/spelling.*
 $ rm -rf index1/position.*
 $ (rm -rf dst;../bin/xapian-compact index1 dst && ../bin/xapian-check dst)
 2>&1|more
 }}}

 Running delve on index1 reports 611 distinct terms, while for dst it
 reports 710, so it appears there's a bug in xapian-compact here as that
 statistic shouldn't be changed by compaction.  The alternative seems to be
 that index1 is malformed in a way which xapian-check doesn't detect.

 This appears to be trunk-only (the chert format has changed incompatibly
 since 1.1.3)  so lowering the priority, and marking for 1.1.4.

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



More information about the Xapian-tickets mailing list