mirror of
https://github.com/fluencelabs/redis
synced 2025-03-22 10:30:49 +00:00
redis-trib: specify single node address when fixing coverage.
This commit is contained in:
parent
915e81335e
commit
efe51dfff5
@ -280,7 +280,7 @@ class RedisTrib
|
|||||||
not_covered.each{|slot|
|
not_covered.each{|slot|
|
||||||
nodes = nodes_with_keys_in_slot(slot)
|
nodes = nodes_with_keys_in_slot(slot)
|
||||||
slots[slot] = nodes
|
slots[slot] = nodes
|
||||||
puts "Slot #{slot} has keys in #{nodes.length} nodes"
|
puts "Slot #{slot} has keys in #{nodes.length} nodes: #{nodes.join}"
|
||||||
}
|
}
|
||||||
|
|
||||||
none = slots.select {|k,v| v.length == 0}
|
none = slots.select {|k,v| v.length == 0}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user