[
https://issues.apache.org/jira/browse/BOOKKEEPER-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242261#comment-13242261
]
Hudson commented on BOOKKEEPER-166:
-----------------------------------
Integrated in bookkeeper-trunk #434 (See
[https://builds.apache.org/job/bookkeeper-trunk/434/])
BOOKKEEPER-166: Bookie will not recover its journal if the length prefix of
an entry is truncated (ivank) (Revision 1307353)
Result = SUCCESS
ivank :
Files :
* /zookeeper/bookkeeper/trunk/CHANGES.txt
*
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieJournalTest.java
> Bookie will not recover its journal if the length prefix of an entry is
> truncated
> ---------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-166
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-166
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.1.0
>
> Attachments: BOOKKEEPER-166.diff
>
>
> Entries in the bookie's journal are written in the format <len><entry>
> If the bookie crashes while writing the length part, then the bookie will not
> be able to recover the journal.
> An unlikely situation to happen as this is only 1 int, but an issue none the
> less.
> There is a testcase in BOOKKEEPER-165 which will trigger this when enabled
> (BookieJournalTest#testTruncatedInLenJournal).
--
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