From dd091661d43316fe319d254a0e6d99fb8c5448bf Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 15 Mar 2013 16:44:08 +0100 Subject: [PATCH] Cluster: log when a slave asks for failover authorization. --- src/cluster.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cluster.c b/src/cluster.c index 68628f06..ab402f0e 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1402,6 +1402,7 @@ void clusterHandleSlaveFailover(void) { * is a pending auth request that's too old, reset it. */ if (server.cluster->failover_auth_time == 0 || auth_age > 15) { + redisLog(REDIS_WARNING,"Asking masters if I can failover..."); server.cluster->failover_auth_time = time(NULL); server.cluster->failover_auth_count = 0; clusterRequestFailoverAuth(); -- GitLab