You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Charles X (JIRA)" <ji...@apache.org> on 2014/12/18 07:18:13 UTC
[jira] [Updated] (BOOKKEEPER-62) Bookie can not start when
encountering corrupted records
[ https://issues.apache.org/jira/browse/BOOKKEEPER-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles X updated BOOKKEEPER-62:
--------------------------------
Assignee: Ivan Kelly (was: Charles X)
> 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
> Assignee: Ivan Kelly
> Priority: Blocker
> Fix For: 4.0.0
>
> Attachments: BOOKKEEPER-62.diff, BOOKKEEPER-62.diff, BOOKKEEPER-62.patch, BOOKKEEPER-62.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)