I have a three node Cassandra cluster. Every node has initial_token configuration parameter holding 256 tokens.
Now I have to add a fourth node and the question is how to calculate initial_token parameter for it (strategy/algorithm/tool)?
Is it possible to move 256/4=64 tokens from every existing node to the new node? What will happen if:
- I will take 64 tokens from initial_token on every node and set them on the new node;
- remove those tokens from configs on original nodes;
- restart the cluster; (I think every original node will still hold rows for moved tokens)
- run "nodetool move" for every migrated token