October 2018
Beginner to intermediate
348 pages
10h
English
Prior to Apache Cassandra 1.2, nodes were assigned contiguous ranges of token values. With this approach, token ranges had to be computed and configured manually, by setting the initial_token property in cassandra.yaml. A possible token distribution (using Murmur3Partitioner) with single token ranges assigned per node is as follows:
|
Node # |
Start token |
End token |
|
0 |
5534023222112865485 |
-9223372036854775808 |
|
1 |
-9223372036854775807 |
-5534023222112865485 |
|
2 |
-5534023222112865484 |
-1844674407370955162 |
|
3 |
-1844674407370955161 |
1844674407370955161 |
|
4 |
1844674407370955162 |
5534023222112865484 |