Commit bc922dc6 authored by antirez's avatar antirez
Browse files

redis-trib: skip nodes without slots when creating the config signature.

parent 64942fca
......@@ -200,6 +200,7 @@ class ClusterNode
@r.cluster("nodes").each_line{|l|
s = l.split
slots = s[7..-1].select {|x| x[0..0] != "["}
next if slots.length == 0
config << s[0]+":"+(slots.sort.join(","))
}
config.sort.join("|")
......
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