[Xapian-tickets] [Xapian] #615: xapian-compact -m (multipass) trashes value 0 (chert 1.2.13)

Xapian nobody at xapian.org
Thu Feb 21 05:14:50 GMT 2013

#615: xapian-compact -m (multipass) trashes value 0 (chert 1.2.13)
 Reporter:  mjy            |       Owner:  olly  
     Type:  defect         |      Status:  new   
 Priority:  normal         |   Milestone:        
Component:  Backend-Chert  |     Version:  1.2.13
 Severity:  normal         |    Keywords:        
Blockedby:                 |    Platform:  Linux 
 Blocking:                 |  

Comment(by olly):

 I had a quick look at the code, and it basically does a multi-way merge by
 doing repeated calls to the same merging code.  The only real difference
 is that the metainfo entry isn't created in the intervening copies, and
 this means we end up skipping the first item in the table, which the
 attached patch fixes.  I've not had a chance to try it on your testcase
 yet, but I'm fairly sure it is wrong as it is, and looks it looks like it
 could cause the issues you report, so I'm attaching it here so you can try
 it out if you want.

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

More information about the Xapian-tickets mailing list