mirror of
https://github.com/fluencelabs/redis
synced 2025-03-16 15:40:49 +00:00
redis-trib should not abort easily on connection issues.
This commit is contained in:
parent
d4222e6bee
commit
de10b8d9cc
@ -686,8 +686,13 @@ class RedisTrib
|
||||
f[:flags].index("fail")
|
||||
fnode = ClusterNode.new(f[:addr])
|
||||
fnode.connect()
|
||||
fnode.load_info()
|
||||
add_node(fnode)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user