Introduction
Failover helps keep your Redis service running by switching to a backup if the main one stops working.
redis-cli -h <replica-host> -p <replica-port> CLUSTER FAILOVER
redis-cli -h 127.0.0.1 -p 7001 CLUSTER FAILOVER
redis-cli -h 127.0.0.1 -p 7004 CLUSTER FAILOVER
redis-cli -h 127.0.0.1 -p 7001 CLUSTER FAILOVER
redis-cli --cluster failover <node-id> matches the official Redis command format.redis-cli --cluster failover 07c37dfeb2352e03a5a5a3b8f8f8f8f8f8f8f8f8 is executed, what is the expected result?redis-cli --cluster failover without specifying a node ID. What is the likely outcome?redis-cli --cluster failover <node-id>, what is the best practice to ensure the cluster is stable?Pass the test and this pattern moves unknown