From a0d41e51c24bd2299d3e46a2164fc5408de220dc Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 27 Nov 2015 08:59:17 +0100 Subject: [PATCH] Redis Cluster: hint about validity factor when slave can't failover. --- src/cluster.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index 17e86a6c..cf0c1bd3 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -2625,7 +2625,9 @@ void clusterLogCantFailover(int reason) { switch(reason) { case CLUSTER_CANT_FAILOVER_DATA_AGE: - msg = "Disconnected from master for longer than allowed."; + msg = "Disconnected from master for longer than allowed. " + "Please check the 'cluster-slave-validity-factor' configuration " + "option."; break; case CLUSTER_CANT_FAILOVER_WAITING_DELAY: msg = "Waiting the delay before I can start a new failover.";