[
https://issues.apache.org/jira/browse/CASSANDRA-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Stupp updated CASSANDRA-9300:
------------------------------------
Attachment: 9300-v2.txt
dtest available via https://github.com/riptano/cassandra-dtest/pull/261 (Is it
correct to use a PR?)
Had to update the original patch (had a bug when creating tokens for multiple
DCs) - attached v2 of the patch
The dtest has two ”components”:
# Create a 3 node cluster with tokens generated from token-generator
# Check multiple DC/nodes combinations and verifies that there are no duplicate
tokens and the amount of tokens matches the given arguments
> 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)