3 ms·
How does the ring range work with nodes going down and new nodes being introduced into the cluster. As per slide 38, it appears to be a static range.
by rvenugopal 15y ago
How does the ring range work with nodes going down and new nodes being introduced into the cluster.
As per slide 38, it appears to be a static range.
- rbranson 15y agoThe ranges are assigned by a per-node token. With 4 nodes like the cluster shown in the slides, you'd space the tokens apart appropriately for 25% of the range on each node. When you add a node, you need to decide if you want to rebalance the cluster by moving every node's token a bit so that every node's range consumes 20% of the keyspace, or if you just want to quickly alleviate load by splitting a single node's traffic in half by assigning the new node's token half way into an existing node's range. Decommissioning a node works the same way, but in reverse. More detailed info: http://www.datastax.com/docs/1.0/operations/cluster_management#adding-capacity-to-an-existing-cluster http://www.datastax.com/docs/1.0/operations/cluster_manageme...