Merge branch 'unstable' of github.com:antirez/redis into unstable

This commit is contained in:
antirez
2011-04-12 15:36:10 +02:00
4 changed files with 112 additions and 1 deletions

View File

@ -1193,11 +1193,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)));