[Xapian-tickets] [Xapian] #427: xapian-compact results in corrupt postlist table (test data included)
Xapian
nobody at xapian.org
Wed Jan 20 13:06:12 GMT 2010
#427: xapian-compact results in corrupt postlist table (test data included)
--------------------+-------------------------------------------------------
Reporter: Henry | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version: SVN trunk
Severity: normal | Keywords:
Blockedby: | Platform: Linux
Blocking: |
--------------------+-------------------------------------------------------
Either xapian-compact is corrupting the data, or the data is corrupt to
begin with (even though xapian-check reports source indexes are ok).
How to reproduce:
Extract tgz file (creates two folders: index1 & temp.index1).
Check sources:
# xapian-check-1.1 index1/
# xapian-check-1.1 temp.index1/
(both should test OK).
# mkdir dst
Test1 - compacts OK:
# xapian-compact-1.1 temp.index1/ dst
# xapian-check-1.1 dst
(should check out OK).
Test2 - compact reports OK, but check fails:
# rm dst/*
# xapian-compact-1.1 index1/ dst
# xapian-check-1.1 dst
(reports errors in postlist).
Needless to say, compacting both index1 and temp.index1 into dst will
compact OK, but the check will fail.
--
Ticket URL: <http://trac.xapian.org/ticket/427>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list