redis-trib should not abort easily on connection issues.

This commit is contained in:
antirez
2014-09-26 16:57:42 +02:00
parent 0ad99ccf75
commit de03925230

View File

@ -686,8 +686,13 @@ class RedisTrib
f[:flags].index("fail")
fnode = ClusterNode.new(f[:addr])
fnode.connect()
next if !fnode.r
begin
fnode.load_info()
add_node(fnode)
rescue => e
xputs "[ERR] Unable to load info for node #{fnode}"
end
}
populate_nodes_replicas_info
end