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
9cf30132
Commit
9cf30132
authored
Aug 22, 2013
by
antirez
Browse files
Cluster: process MEET packets as PING packets.
Somewhat a previous commit broken this so CLUSTER MEET was no longer working.
parent
b804afcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
9cf30132
...
@@ -887,7 +887,9 @@ int clusterProcessPacket(clusterLink *link) {
...
@@ -887,7 +887,9 @@ int clusterProcessPacket(clusterLink *link) {
}
}
/* PING or PONG: process config information. */
/* PING or PONG: process config information. */
if
(
type
==
CLUSTERMSG_TYPE_PING
||
type
==
CLUSTERMSG_TYPE_PONG
)
{
if
(
type
==
CLUSTERMSG_TYPE_PING
||
type
==
CLUSTERMSG_TYPE_PONG
||
type
==
CLUSTERMSG_TYPE_MEET
)
{
int
update_state
=
0
;
int
update_state
=
0
;
int
update_config
=
0
;
int
update_config
=
0
;
...
...
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