mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 09:30:55 +00:00
redis-trib: don't load cluster config from nodes in FAIL state.
This commit is contained in:
parent
e28e61e839
commit
7d3e32d526
@ -409,7 +409,9 @@ 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")
|
||||
next if f[:flags].index("noaddr") ||
|
||||
f[:flags].index("disconnected") ||
|
||||
f[:flags].index("fail")
|
||||
fnode = ClusterNode.new(f[:addr])
|
||||
fnode.connect()
|
||||
fnode.load_info()
|
||||
|
Loading…
x
Reference in New Issue
Block a user