提交 36c24bcc 编写于 作者: A antirez

Cluster: redis-trib shows number of replicas of masters.

上级 27ed9da3
......@@ -248,6 +248,8 @@ class ClusterNode
end
if self.info[:replicate]
is += "\n replicates #{info[:replicate]}"
elsif self.has_flag?("master") && self.info[:replicas]
is += "\n #{info[:replicas].length} additional replica(s)"
end
is
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册