Which mechanism does Redis Sentinel use to detect that the master node is down?
Think about how a system can automatically check if another system is alive.
Sentinel sends regular PING messages to the master node. If the master does not respond within a configured timeout, Sentinel marks it as down.
What is the main role of Redis Sentinel when a master node fails?
Consider what happens to keep the system running when the main server stops working.
Sentinel performs automatic failover by promoting a slave to master and informing clients and other nodes about the new master to maintain availability.
Given a Sentinel setup with 5 Sentinel nodes monitoring a master, what is the minimum number of Sentinels that must agree the master is down to start failover if the quorum is set to 3?
Quorum means the minimum number of votes needed to make a decision.
The quorum setting defines how many Sentinels must agree the master is down before failover begins. With quorum 3, at least 3 Sentinels must agree.
Which of the following best explains how Redis Sentinel maintains high availability during a master failure?
Think about how the system keeps working smoothly even if one part fails.
Sentinel automates failover by promoting a slave to master and informing clients, so the system continues working without downtime.
How does Redis Sentinel help prevent split-brain situations during network partitions?
Consider how a group decision can avoid conflicting actions.
Sentinel requires a majority of Sentinels (quorum) to agree before failover, preventing multiple masters from being promoted in network splits.