Cluster: clarify we always resolve the sender.

This commit is contained in:
antirez 2020-05-09 11:12:51 +02:00
parent 79de9d6c78
commit 4387ba6a17
1 changed files with 3 additions and 1 deletions

View File

@ -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