Redis Cluster: hint about validity factor when slave can't failover.

This commit is contained in:
antirez 2015-11-27 08:59:17 +01:00
parent 00eb8a63e9
commit f58a674a4e

View File

@ -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.";