提交 dd091661 编写于 作者: A antirez

Cluster: log when a slave asks for failover authorization.

上级 1375b061
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册