mirror of https://mirror.osredm.com/root/redis.git
Cluster: clarify we always resolve the sender.
This commit is contained in:
parent
79de9d6c78
commit
4387ba6a17
|
@ -1741,7 +1741,9 @@ int clusterProcessPacket(clusterLink *link) {
|
|||
if (totlen != explen) return 1;
|
||||
}
|
||||
|
||||
/* Check if the sender is a known node. */
|
||||
/* Check if the sender is a known node. Note that for incoming connections
|
||||
* we don't store link->node information, but resolve the node by the
|
||||
* ID in the header each time in the current implementation. */
|
||||
sender = clusterLookupNode(hdr->sender);
|
||||
|
||||
/* Update the last time we saw any data from this node. We
|
||||
|
|
Loading…
Reference in New Issue