mirror of
https://github.com/fluencelabs/redis
synced 2025-04-04 16:51:12 +00:00
show node with myself flag always as connected in CLUSTER NODES output.
This commit is contained in:
parent
07c152a7bd
commit
1ef8b0a96d
@ -1099,7 +1099,8 @@ sds clusterGenNodesDescription(void) {
|
|||||||
ci = sdscatprintf(ci,"%ld %ld %s",
|
ci = sdscatprintf(ci,"%ld %ld %s",
|
||||||
(long) node->ping_sent,
|
(long) node->ping_sent,
|
||||||
(long) node->pong_received,
|
(long) node->pong_received,
|
||||||
node->link ? "connected" : "disconnected");
|
(node->link || node->flags & REDIS_NODE_MYSELF) ?
|
||||||
|
"connected" : "disconnected");
|
||||||
|
|
||||||
/* Slots served by this instance */
|
/* Slots served by this instance */
|
||||||
start = -1;
|
start = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user