Redis › Redis Sentinel & High Availability
What is the quorum setting in a Sentinel configuration, and how does it affect the decision to trigger a failover?
IntermediateAnswer
The quorum setting specifies the minimum number of Sentinel instances that must agree the primary is actually unreachable before a failover process begins, providing protection against a single Sentinel's false positive triggering an unnecessary and potentially disruptive failover based on its own isolated network issue.
sentinel monitor mymaster 192.168.1.10 6379 2
-- The final number 2 is the quorum valueReal-world example A team running five Sentinel instances configures a quorum of three, ensuring a majority must agree before any failover is triggered, providing strong protection against a false alarm caused by any single Sentinel's temporary issue.