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
1ef8b0a9
Commit
1ef8b0a9
authored
Sep 28, 2011
by
antirez
Browse files
show node with myself flag always as connected in CLUSTER NODES output.
parent
07c152a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
1ef8b0a9
...
...
@@ -1099,7 +1099,8 @@ sds clusterGenNodesDescription(void) {
ci
=
sdscatprintf
(
ci
,
"%ld %ld %s"
,
(
long
)
node
->
ping_sent
,
(
long
)
node
->
pong_received
,
node
->
link
?
"connected"
:
"disconnected"
);
(
node
->
link
||
node
->
flags
&
REDIS_NODE_MYSELF
)
?
"connected"
:
"disconnected"
);
/* Slots served by this instance */
start
=
-
1
;
...
...
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