You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2011/01/09 12:19:45 UTC

[jira] Created: (CASSANDRA-1957) BufferedRandomAccessFile EOFs early

BufferedRandomAccessFile EOFs early
-----------------------------------

                 Key: CASSANDRA-1957
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1957
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Stu Hood
            Assignee: Stu Hood
             Fix For: 0.8


A read(buff,off,len) call that passes the end of the file should result in a partial read, but currently throws EOF.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1957) BufferedRandomAccessFile EOFs early

Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stu Hood updated CASSANDRA-1957:
--------------------------------

    Attachment: 0001-Should-partial-read-rather-than-EOFing-immediately.txt

Patch to allow for partial reads near the end of the file. Probably needs a unit test.

> BufferedRandomAccessFile EOFs early
> -----------------------------------
>
>                 Key: CASSANDRA-1957
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1957
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>             Fix For: 0.8
>
>         Attachments: 0001-Should-partial-read-rather-than-EOFing-immediately.txt
>
>
> A read(buff,off,len) call that passes the end of the file should result in a partial read, but currently throws EOF.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-1957) BufferedRandomAccessFile EOFs early

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1957.
---------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 0.8)
         Assignee:     (was: Stu Hood)

Fixed in CASSANDRA-2213

> BufferedRandomAccessFile EOFs early
> -----------------------------------
>
>                 Key: CASSANDRA-1957
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1957
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Stu Hood
>         Attachments: 0001-Should-partial-read-rather-than-EOFing-immediately.txt
>
>
> A read(buff,off,len) call that passes the end of the file should result in a partial read, but currently throws EOF.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira