提交 1baa1530 编写于 作者: A antirez

redis-trib: added some more output for check.

上级 77bba91b
......@@ -258,7 +258,7 @@ class RedisTrib
end
def check_cluster
puts "Performing Cluster Check (using node #{@nodes[0]})"
puts ">>> Performing Cluster Check (using node #{@nodes[0]})"
show_nodes
check_config_consistency
check_open_slots
......@@ -276,6 +276,7 @@ class RedisTrib
end
def check_slots_coverage
puts ">>> Check slots coverage..."
slots = covered_slots
if slots.length == ClusterHashSlots
puts "[OK] All #{ClusterHashSlots} slots covered."
......@@ -288,6 +289,7 @@ class RedisTrib
end
def check_open_slots
puts ">>> Check for open slots..."
open_slots = []
@nodes.each{|n|
if n.info[:migrating].size > 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册