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

Stefania commented on CASSANDRA-9300:
-------------------------------------

Sorry I focused on the equation and not so much the exclusive part. Then yes 1 
<< 64 is correct.

So difference between MURMUR and RP is that for MURMUR the minimum value, 
-2^63, is a valid value whilst for RP the minimum, -1, is not valid.

+1 to commit.

> token-generator - generated tokens too long
> -------------------------------------------
>
>                 Key: CASSANDRA-9300
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9300
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 3.x, 2.1.x, 2.0.x
>
>         Attachments: 9300-v2.txt, 9300.txt
>
>
> {{token-generator}} tool does not generate valid long values (2.0, 2.1, 
> trunk).
> E.g. 
> {code}
> tools/bin/token-generator 4
> DC #1:
>   Node #1:                                        0
>   Node #2:   42535295865117307932921825928971026432
>   Node #3:   85070591730234615865843651857942052864
>   Node #4:  127605887595351923798765477786913079296
> {code}
> But should generate tokens like
> {code}
> -9223372036854775808
> -4611686018427387904
> 0
> 4611686018427387904
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to