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
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira