mirror of
https://github.com/fluencelabs/redis
synced 2025-05-03 14:32:14 +00:00
Fix redis-trib import SCAN call
This commit is contained in:
parent
b3349204b8
commit
c13d787d13
@ -1139,7 +1139,7 @@ class RedisTrib
|
|||||||
# right node as needed.
|
# right node as needed.
|
||||||
cursor = nil
|
cursor = nil
|
||||||
while cursor != 0
|
while cursor != 0
|
||||||
cursor,keys = source.scan(cursor,:count,1000)
|
cursor,keys = source.scan(cursor, :count => 1000)
|
||||||
cursor = cursor.to_i
|
cursor = cursor.to_i
|
||||||
keys.each{|k|
|
keys.each{|k|
|
||||||
# Migrate keys using the MIGRATE command.
|
# Migrate keys using the MIGRATE command.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user