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

[jira] Created: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

Fix misuses of ByteBufferUtil.string()
--------------------------------------

                 Key: CASSANDRA-1999
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.1, 0.8
            Reporter: Sylvain Lebresne
            Assignee: Sylvain Lebresne
             Fix For: 0.7.1, 0.8
         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch

ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
a start and end offset.

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


[jira] Commented: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

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

Hudson commented on CASSANDRA-1999:
-----------------------------------

Integrated in Cassandra-0.7 #168 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/168/])
    fix ByteBuffer regressions from #1714
patch by slebresne; reviewed by jbellis for CASSANDRA-1999


> Fix misuses of ByteBufferUtil.string()
> --------------------------------------
>
>                 Key: CASSANDRA-1999
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.1, 0.8
>
>         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
> a start and end offset.

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


[jira] Updated: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

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

Sylvain Lebresne updated CASSANDRA-1999:
----------------------------------------

    Attachment: 0001-Fix-misuse-of-ByteBufferUtil.string.patch

Fixed a tiny mistake. Should be good now.

> Fix misuses of ByteBufferUtil.string()
> --------------------------------------
>
>                 Key: CASSANDRA-1999
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1, 0.8
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.1, 0.8
>
>         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
> a start and end offset.

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


[jira] Updated: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

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

Sylvain Lebresne updated CASSANDRA-1999:
----------------------------------------

    Attachment: 0001-Fix-misuse-of-ByteBufferUtil.string.patch

Attached patch against 0.7

> Fix misuses of ByteBufferUtil.string()
> --------------------------------------
>
>                 Key: CASSANDRA-1999
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1, 0.8
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.1, 0.8
>
>         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
> a start and end offset.

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


[jira] Updated: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

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

Sylvain Lebresne updated CASSANDRA-1999:
----------------------------------------

    Attachment:     (was: 0001-Fix-misuse-of-ByteBufferUtil.string.patch)

> Fix misuses of ByteBufferUtil.string()
> --------------------------------------
>
>                 Key: CASSANDRA-1999
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1, 0.8
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.1, 0.8
>
>         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
> a start and end offset.

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


[jira] Resolved: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

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

Jonathan Ellis resolved CASSANDRA-1999.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis

committed.  (looks like these were introduced in CASSANDRA-1714, fwiw, so i'm going to tag affects-version to 0.7.1)

> Fix misuses of ByteBufferUtil.string()
> --------------------------------------
>
>                 Key: CASSANDRA-1999
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.1, 0.8
>
>         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
> a start and end offset.

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


[jira] Updated: (CASSANDRA-1999) Fix misuses of ByteBufferUtil.string()

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

Jonathan Ellis updated CASSANDRA-1999:
--------------------------------------

    Affects Version/s:     (was: 0.8)

> Fix misuses of ByteBufferUtil.string()
> --------------------------------------
>
>                 Key: CASSANDRA-1999
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1999
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.1, 0.8
>
>         Attachments: 0001-Fix-misuse-of-ByteBufferUtil.string.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ByteBufferUtil.string() takes a start offset and a length. It is however used as if taking
> a start and end offset.

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