You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2012/05/09 05:44:59 UTC

[jira] [Created] (CASSANDRA-4226) make sure MessageIn skips the entire payload size

Dave Brosius created CASSANDRA-4226:
---------------------------------------

             Summary: make sure MessageIn skips the entire payload size
                 Key: CASSANDRA-4226
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4226
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 1.2
         Attachments: message_skip_fully.diff

DataInput.skipBytes isn't guaranteed to actually skip the number of bytes requested, use FileUtils.skipBytesFully instead.

--
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

        

[jira] [Updated] (CASSANDRA-4226) make sure MessageIn skips the entire payload size

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

Dave Brosius updated CASSANDRA-4226:
------------------------------------

    Attachment: message_skip_fully.diff
    
> make sure MessageIn skips the entire payload size
> -------------------------------------------------
>
>                 Key: CASSANDRA-4226
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4226
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.2
>
>         Attachments: message_skip_fully.diff
>
>
> DataInput.skipBytes isn't guaranteed to actually skip the number of bytes requested, use FileUtils.skipBytesFully instead.

--
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