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 4d625bb4c8
commit a0d41e51c2

View File

@ -2625,7 +2625,9 @@ void clusterLogCantFailover(int reason) {
switch(reason) { switch(reason) {
case CLUSTER_CANT_FAILOVER_DATA_AGE: 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; break;
case CLUSTER_CANT_FAILOVER_WAITING_DELAY: case CLUSTER_CANT_FAILOVER_WAITING_DELAY:
msg = "Waiting the delay before I can start a new failover."; msg = "Waiting the delay before I can start a new failover.";