You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Benjamin Reed (Updated) (JIRA)" <ji...@apache.org> on 2011/10/07 23:42:29 UTC

[jira] [Updated] (BOOKKEEPER-61) BufferedChannel read endless when the remaining bytes of file is less than the capacity of read buffer

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Reed updated BOOKKEEPER-61:
------------------------------------

    Fix Version/s: 3.4.0

+1 great fix and test!
                
> BufferedChannel read endless when the remaining bytes of file is less than the capacity of read buffer
> ------------------------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-61
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-61
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 3.4.0
>
>         Attachments: bookkeeper-61.patch
>
>
> If last record in entry log file is truncated (length of data is short than expected length), bookie went into infinite loop on reading this record.
> A truncated record can be caused in following cases:
> 1) bookie server is killed during bookie restart to relay logs.
> 2) bookie server is killed when bookie does adding entry operation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira