Runbook

Token Range Imbalances Causing Uneven Data Distribution and Performance Issues in Cassandra Cluster

Back to Runbooks

Overview

This incident type refers to a problem in a Cassandra cluster where the token range imbalances cause uneven distribution of data across the cluster. This can result in slower read and write performance that can impact the overall functionality of the system. Token range imbalances occur when the distribution of the tokens that define the ranges of data each node is responsible for is not evenly spread across the cluster. As a result, certain nodes may be responsible for a disproportionate amount of data, leading to performance issues and potential failure of the system.

Parameters

Debug

Check the status of the Cassandra cluster

Check for any inconsistencies in the token ranges

Check for any imbalanced token ranges

Check for any under-replicated data

Check for any over-replicated data

Check for any read performance issues

Check for any write performance issues

Repair

Rebalancing the cluster: Token range imbalances can occur due to nodes being added or removed from the cluster. Rebalancing the cluster can help redistribute the data evenly across all nodes. This can be achieved by using nodetool or by performing an automatic rebalance.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.