mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +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",
|
||||
(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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user