Cluster: clarify we always resolve the sender.

This commit is contained in:
antirez 2020-05-09 11:12:51 +02:00
parent dc35bcdeb7
commit 3311d52e80

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