diff --git a/src/cluster.c b/src/cluster.c index e2b8204461d7a95cda0f0e4f6f1217c718ad275a..0a580fa75e3268d9979e3397790a973e57e3c5c8 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1192,11 +1192,13 @@ void clusterCommand(redisClient *c) { "cluster_slots_ok:%d\r\n" "cluster_slots_pfail:%d\r\n" "cluster_slots_fail:%d\r\n" + "cluster_known_nodes:%lu\r\n" , statestr[server.cluster.state], slots_assigned, slots_ok, slots_pfail, - slots_fail + slots_fail, + dictSize(server.cluster.nodes) ); addReplySds(c,sdscatprintf(sdsempty(),"$%lu\r\n", (unsigned long)sdslen(info)));