Recall & Review
beginner
What is the Sentinel quorum in Redis Sentinel?
The Sentinel quorum is the minimum number of Sentinel instances that must agree a master is down before a failover is triggered.
Click to reveal answer
beginner
Why does Redis Sentinel require a quorum before starting a failover?
To avoid false failovers caused by network glitches or temporary issues, ensuring that enough Sentinels agree the master is really down.
Click to reveal answer
intermediate
How do you configure the quorum in Redis Sentinel?
You set the quorum number in the Sentinel configuration file using the 'sentinel monitor' command, for example: sentinel monitor mymaster 127.0.0.1 6379 2 (where 2 is the quorum).
Click to reveal answer
beginner
What happens if the quorum is not reached in Redis Sentinel?
If the quorum is not reached, Sentinel will not start a failover, and the master will continue to be considered up.
Click to reveal answer
intermediate
How does Sentinel quorum relate to high availability?
Quorum helps ensure that failover decisions are reliable, which is key for maintaining high availability and avoiding split-brain scenarios.
Click to reveal answer
What does the Sentinel quorum represent in Redis Sentinel?
✗ Incorrect
The quorum is the minimum number of Sentinel instances that must agree the master is down before failover.
If the quorum is set to 3, how many Sentinels must agree the master is down to trigger failover?
✗ Incorrect
The quorum number defines how many Sentinels must agree; if set to 3, at least 3 must agree.
What is the risk of setting the Sentinel quorum too low?
✗ Incorrect
A low quorum can cause failover to trigger incorrectly during brief network glitches.
Where do you configure the Sentinel quorum value?
✗ Incorrect
The quorum is set in the Sentinel configuration file using the 'sentinel monitor' command.
What happens if the quorum is not reached when a master is suspected down?
✗ Incorrect
Without quorum agreement, Sentinel does not trigger failover and keeps monitoring.
Explain the role of quorum in Redis Sentinel failover process.
Think about how Sentinels decide together before acting.
You got /4 concepts.
Describe how to set and why to choose a proper quorum value in Redis Sentinel.
Consider the trade-off between quick failover and avoiding mistakes.
You got /5 concepts.