cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-565) doesn't always do full reads
Date Thu, 19 Nov 2009 21:31:39 GMT


Jonathan Ellis commented on CASSANDRA-565:

since the contract for RandomAccessFile that BRAF is patterned on is that read() may return
less bytes even if it is not EOF, IMO we should probably make the read-with-retry loop a separate
method (readFully?)

> doesn't always do full reads
> ----------------------------------------------------------
>                 Key: CASSANDRA-565
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>             Fix For: 0.5
>         Attachments: issue565.patchev1
> 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.

View raw message