提交 f1bfd823 编写于 作者: A antirez

Cluster: fix typo in clusterProcessPacket() comment.

上级 1dedf9aa
......@@ -1190,7 +1190,7 @@ int clusterProcessPacket(clusterLink *link) {
clusterSendFailoverAuthIfNeeded(sender,hdr);
} else if (type == CLUSTERMSG_TYPE_FAILOVER_AUTH_ACK) {
if (!sender) return 1; /* We don't know that node. */
/* We consider this vote only if the sender if a master serving
/* We consider this vote only if the sender is a master serving
* a non zero number of slots, with the currentEpoch that is equal
* to our currentEpoch. */
if (sender->flags & REDIS_NODE_MASTER &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册