You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/03/24 05:55:05 UTC

[jira] [Created] (CASSANDRA-2376) Both name an index iterators cast block offset to int

Both name an index iterators cast block offset to int
-----------------------------------------------------

                 Key: CASSANDRA-2376
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2376
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jonathan Ellis
            Assignee: Jonathan Ellis
            Priority: Minor
             Fix For: 0.7.5


This means that performing random access to the end of a large row will not work.

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

[jira] [Commented] (CASSANDRA-2376) Both name an index iterators cast block offset to int

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010665#comment-13010665 ] 

Sylvain Lebresne commented on CASSANDRA-2376:
---------------------------------------------

Small nitpick: it could be nice to add a message to the eof exception saying how many bytes out of how many have been skipped before reaching eof, but that'd require to do a catch and re-throw in the 'long' version.

+1

> Both name an index iterators cast block offset to int
> -----------------------------------------------------
>
>                 Key: CASSANDRA-2376
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2376
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2376.txt
>
>
> This means that performing random access to the end of a large row will not work.

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

[jira] [Updated] (CASSANDRA-2376) Both name an index iterators cast block offset to int

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

Jonathan Ellis updated CASSANDRA-2376:
--------------------------------------

    Attachment: 2376.txt

Patch also unifies skipBytes checking into skipBytesFully even where we really are only skipping an int's worth of bytes.

> Both name an index iterators cast block offset to int
> -----------------------------------------------------
>
>                 Key: CASSANDRA-2376
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2376
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2376.txt
>
>
> This means that performing random access to the end of a large row will not work.

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

[jira] [Updated] (CASSANDRA-2376) Both name an index iterators cast block offset to int

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

Jonathan Ellis updated CASSANDRA-2376:
--------------------------------------

    Attachment: 2376-v2.txt

v2 adds length information to EOFException

> Both name an index iterators cast block offset to int
> -----------------------------------------------------
>
>                 Key: CASSANDRA-2376
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2376
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2376-v2.txt, 2376.txt
>
>
> This means that performing random access to the end of a large row will not work.

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

[jira] [Commented] (CASSANDRA-2376) Both name an index iterators cast block offset to int

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012165#comment-13012165 ] 

Hudson commented on CASSANDRA-2376:
-----------------------------------

Integrated in Cassandra-0.7 #410 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/410/])
    Don't cast block offsets to int
patch by jbellis; reviewed by slebresne for CASSANDRA-2376


> Both name an index iterators cast block offset to int
> -----------------------------------------------------
>
>                 Key: CASSANDRA-2376
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2376
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2376-v2.txt, 2376.txt
>
>
> This means that performing random access to the end of a large row will not work.

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

[jira] [Resolved] (CASSANDRA-2376) Both name an index iterators cast block offset to int

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

Sylvain Lebresne resolved CASSANDRA-2376.
-----------------------------------------

    Resolution: Fixed

Committed as rev1086290.

> Both name an index iterators cast block offset to int
> -----------------------------------------------------
>
>                 Key: CASSANDRA-2376
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2376
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2376-v2.txt, 2376.txt
>
>
> This means that performing random access to the end of a large row will not work.

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