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
f1bfd823
Commit
f1bfd823
authored
Oct 01, 2013
by
antirez
Browse files
Cluster: fix typo in clusterProcessPacket() comment.
parent
1dedf9aa
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
f1bfd823
...
...
@@ -1190,7 +1190,7 @@ int clusterProcessPacket(clusterLink *link) {
clusterSendFailoverAuthIfNeeded
(
sender
,
hdr
);
}
else
if
(
type
==
CLUSTERMSG_TYPE_FAILOVER_AUTH_ACK
)
{
if
(
!
sender
)
return
1
;
/* We don't know that node. */
/* We consider this vote only if the sender i
f
a master serving
/* We consider this vote only if the sender i
s
a master serving
* a non zero number of slots, with the currentEpoch that is equal
* to our currentEpoch. */
if
(
sender
->
flags
&
REDIS_NODE_MASTER
&&
...
...
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