Cluster: fix typo in clusterProcessPacket() comment.
This commit is contained in:
parent
1dedf9aa36
commit
f1bfd8233b
@ -1190,7 +1190,7 @@ int clusterProcessPacket(clusterLink *link) {
|
|||||||
clusterSendFailoverAuthIfNeeded(sender,hdr);
|
clusterSendFailoverAuthIfNeeded(sender,hdr);
|
||||||
} else if (type == CLUSTERMSG_TYPE_FAILOVER_AUTH_ACK) {
|
} else if (type == CLUSTERMSG_TYPE_FAILOVER_AUTH_ACK) {
|
||||||
if (!sender) return 1; /* We don't know that node. */
|
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
|
* a non zero number of slots, with the currentEpoch that is equal
|
||||||
* to our currentEpoch. */
|
* to our currentEpoch. */
|
||||||
if (sender->flags & REDIS_NODE_MASTER &&
|
if (sender->flags & REDIS_NODE_MASTER &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user