Single token range per node

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

Table 2.1: An example of the token range assignments for a five-node cluster, where each ...

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.