Cluster: redis-trib move_to_slot: don't send SETSLOT to slaves.

This commit is contained in:
antirez
2016-01-25 15:19:57 +01:00
parent 18f62b127b
commit 557e7c3af3
+1
View File
@@ -953,6 +953,7 @@ class RedisTrib
# Set the new node as the owner of the slot in all the known nodes.
if !o[:cold]
@nodes.each{|n|
next if n.has_flag?("slave")
n.r.cluster("setslot",slot,"node",target.info[:name])
}
end