Commit 1276058e authored by antirez's avatar antirez
Browse files

Cluster: clarify we always resolve the sender.

parent 002fcde3
...@@ -1741,7 +1741,9 @@ int clusterProcessPacket(clusterLink *link) { ...@@ -1741,7 +1741,9 @@ int clusterProcessPacket(clusterLink *link) {
if (totlen != explen) return 1; 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); sender = clusterLookupNode(hdr->sender);
/* Update the last time we saw any data from this node. We /* Update the last time we saw any data from this node. We
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment