cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1411) FBUtilities.hexToBytes() doesn't accommodate odd-length strings.
Date Fri, 20 Aug 2010 16:03:18 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900750#action_12900750
] 

Gary Dusbabek commented on CASSANDRA-1411:
------------------------------------------

Erroring on odd-lengthed, yet still valid hex values is neither pragmatic or very useful.
 hex 0 is dec 0, hex 101 is dec 257, so is hex 0101; let's just handle them.

> FBUtilities.hexToBytes() doesn't accommodate odd-length strings.
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1411
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1411
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.4
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.7 beta 2
>
>         Attachments: v1-0001-FBUtilities.hexToBytes-doesn-t-handle-odd-length-strin.txt
>
>
> This is a problem when a user specifies ByteOrderedPartitioner with an odd-length initial
token (like "0").

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


Mime
View raw message