The Redis too many masters incident occurs when there are too many master nodes in a Redis cluster, leading to connection issues and potential data loss. This can happen due to misconfiguration, network issues, or other factors, and requires immediate attention to prevent further damage.
Parameters
Debug
Check if Redis is running on the affected instance
Check the Redis configuration file
Check the number of master nodes in the Redis cluster
Check the status of the Redis cluster
Check the number of connections to the Redis cluster
Check the Redis logs for any errors or warnings
Restart the Redis service
Network connectivity issues between Redis nodes, causing nodes to become isolated and designate themselves as master nodes.
Repair
Reduce the number of master nodes in the Redis cluster to the recommended maximum, which varies based on the size and complexity of the system.
Learn more
Related Runbooks
Check out these related runbooks to help you debug and resolve similar issues.