Bookie can not start when encountering corrupted records
--------------------------------------------------------
Key: BOOKKEEPER-62
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-62
Project: Bookkeeper
Issue Type: Bug
Reporter: Sijie Guo
bookie tries to extract ledger ids from entry loggers during starting up. if
some records corrupted, an IOException is thrown out.
in extractLedgersFromEntryLogs function:
line 459:
int rc = bc.read(buff, pos);
if (rc != data.length) {
throw new IOException("Short read for entryLog " +
entryLogId + "@" + pos + "(" + rc + "!="
+ data.length + ")");
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira