Commit 7ddc0fe6 authored by antirez's avatar antirez
Browse files

redis-trib: skip noaddr and disconnected nodes while loading cluster info.

parent d20dea3e
......@@ -408,6 +408,7 @@ class RedisTrib
node.load_info(:getfriends => true)
add_node(node)
node.friends.each{|f|
next if f[:flags].index("noaddr") or f[:flags].index("disconnected")
fnode = ClusterNode.new(f[:addr])
fnode.connect()
fnode.load_info()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment