mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Cluster: redis-trib move_to_slot: don't send SETSLOT to slaves.
This commit is contained in:
parent
c6e508856a
commit
152e9f67f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user