[
https://issues.apache.org/jira/browse/CASSANDRA-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated CASSANDRA-565:
------------------------------
Attachment: issue565.patchev2
Patch v2. Use the existing readFully method in CommitLog instead.
> BufferedRandomAccessFile.read doesn't always do full reads
> ----------------------------------------------------------
>
> Key: CASSANDRA-565
> URL: https://issues.apache.org/jira/browse/CASSANDRA-565
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Jun Rao
> Assignee: Jun Rao
> Fix For: 0.5
>
> Attachments: issue565.patchev1, issue565.patchev2
>
>
> BufferedRandomAccessFile.read may read fewer bytes than required, even when
> EOF is not reached. This breaks commit log recovery, which assumes that when
> a read returns less than required, the EOF is reached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.