Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4387ba6a
Commit
4387ba6a
authored
May 09, 2020
by
antirez
Browse files
Cluster: clarify we always resolve the sender.
parent
79de9d6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
4387ba6a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment