From 61eb0eae838d06a9f9da21d00bcdb7b9ede2bd5b Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 10 Jun 2014 16:56:08 +0200 Subject: [PATCH] Cluster: log granted failover authorizations. --- src/cluster.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cluster.c b/src/cluster.c index dacb4616..8fc500f1 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -2367,6 +2367,8 @@ void clusterSendFailoverAuthIfNeeded(clusterNode *node, clusterMsg *request) { clusterSendFailoverAuth(node); server.cluster->lastVoteEpoch = server.cluster->currentEpoch; node->slaveof->voted_time = mstime(); + redisLog(REDIS_WARNING, "Failover auth granted to %.40s for epoch %llu", + node->name, (unsigned long long) server.cluster->currentEpoch); } /* This function returns the "rank" of this instance, a slave, in the context