Cluster: log granted failover authorizations.
This commit is contained in:
parent
1074266da1
commit
b10f3f08a6
@ -2367,6 +2367,8 @@ void clusterSendFailoverAuthIfNeeded(clusterNode *node, clusterMsg *request) {
|
|||||||
clusterSendFailoverAuth(node);
|
clusterSendFailoverAuth(node);
|
||||||
server.cluster->lastVoteEpoch = server.cluster->currentEpoch;
|
server.cluster->lastVoteEpoch = server.cluster->currentEpoch;
|
||||||
node->slaveof->voted_time = mstime();
|
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
|
/* This function returns the "rank" of this instance, a slave, in the context
|
||||||
|
Loading…
x
Reference in New Issue
Block a user