apache / apache/cassandra-ccm

ccm creates cluster with Murmur3Paritioner minimum token

Open
#332 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
309
PR merge metrics
No merged PRs in 30d

Description

When I run the following commands to create a cluster:

```
ccm create test
ccm populate test -n 3
ccm start test
ccm node2 nodetool ring
```

I get in the following ring:

```
Datacenter: datacenter1
==========
Address Rack Status State Load Owns Token
3074457345618258602
127.0.0.1 rack1 Up Normal 46.57 KB 66.67% -9223372036854775808
127.0.0.2 rack1 Up Normal 46.56 KB 66.67% -3074457345618258603
127.0.0.3 rack1 Up Normal 46.58 KB 66.67% 3074457345618258602
```

The assigned token for one of the nodes is `-9223372036854775808` which is Java's Long.MIN_VALUE. This token shouldn't be assignable as it's used in queries to wrap around the entire token ring (get entire range of tokens).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.