[Xapian-tickets] [Xapian] #518: xapian-compact: error output does not state source of evil
Xapian
nobody at xapian.org
Sat Nov 13 14:20:27 GMT 2010
#518: xapian-compact: error output does not state source of evil
---------------------------+------------------------------------------------
Reporter: luxitude | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Backend-Flint | Version:
Severity: critical | Blockedby:
Platform: Linux | Blocking:
---------------------------+------------------------------------------------
In case xapian-compact is provided multiple source flint files and one of
them contains a database corruption, the error message does not state the
source file:
./usr/bin/xapian-compact: DatabaseCorruptError: Unexpected end of table
when reading continuation of tag
In the use case at hand, a periodic merge of about 200 partial xapian db's
is done using xapian-compact overnight; the error message makes
troubleshooting harder than it should be, because it doesn't state the
source of evil. Sure this can be figured using strace and friends,
however, it shouldn't be difficult to patch the error message to read
instead:
./usr/bin/xapian-compact: DatabaseCorruptError: Unexpected end of table
when reading continuation of tag in source database <whatever>.
Binary: xapian-compact - xapian-core 1.2.3
OS: Debian Stable, amd64
--
Ticket URL: <http://trac.xapian.org/ticket/518>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list