Why is it recommended to run multiple Redis Sentinel instances monitoring the same master?
Think about how Sentinel decides to promote a new master.
Multiple Sentinel instances provide fault tolerance by voting to agree on failover decisions. This quorum prevents false failovers.
Given three Sentinel instances monitoring a Redis master, what will the SENTINEL masters command return?
SENTINEL masters
Consider what information Sentinel provides about monitored masters.
The SENTINEL masters command returns detailed info about each master monitored by Sentinel instances.
Which configuration snippet correctly sets up three Sentinel instances monitoring the same Redis master?
The quorum number must be the minimum number of Sentinels that agree to failover.
The quorum value in sentinel monitor must be at least 2 when running three Sentinels to ensure majority agreement.
You want to reduce the time Sentinel takes to detect a master failure and start failover. Which configuration change helps achieve this without risking false failovers?
Think about how quickly Sentinel detects failure and how long it waits before failover.
Reducing down-after-milliseconds makes Sentinel detect failure faster; reducing failover-timeout speeds failover start. Both must be balanced to avoid false failovers.
You have three Sentinel instances monitoring a Redis master with quorum set to 2. After the master crashes, failover does not occur. What is the most likely cause?
Consider how Sentinel decides to start failover based on quorum.
Failover requires a quorum of Sentinels to agree the master is down. If fewer than quorum detect failure, failover won't start.