Runbook

Frequent Redis Sentinel Elections Incident

Back to Runbooks

Overview

This incident type refers to a situation where Redis Sentinel, a high-availability solution for Redis, experiences frequent elections. Elections happen when a new Sentinel is elected as the leader, responsible for managing Redis instances. Frequent elections can be a sign of network instability or misconfiguration, which can result in downtime or reduced performance. It is important to investigate the root cause of the frequent elections and take prompt action to prevent service disruption.

Parameters

Debug

Check if Redis Sentinel is running

Check the current leader Sentinel

Check the Sentinel log for election events

Check the network connectivity between Sentinels and Redis instances

Check the Redis instance log for connection errors

Check the Redis instance configuration for Sentinel settings

Repair

Adjust the quorum size or failover timeout settings to better suit the network conditions and workload demands.

Learn more

Related Runbooks

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