mirror of
https://github.com/fluencelabs/redis
synced 2025-05-03 14:32:14 +00:00
Redis Cluster: hint about validity factor when slave can't failover.
This commit is contained in:
parent
00eb8a63e9
commit
f58a674a4e
@ -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.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user