Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
14f2582d
Commit
14f2582d
authored
Oct 27, 2014
by
Matt Stancliff
Browse files
Fix redis-trib import SCAN call
parent
6fbaeddf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
14f2582d
...
...
@@ -1137,7 +1137,7 @@ class RedisTrib
# right node as needed.
cursor
=
nil
while
cursor
!=
0
cursor
,
keys
=
source
.
scan
(
cursor
,
:count
,
1000
)
cursor
,
keys
=
source
.
scan
(
cursor
,
:count
=>
1000
)
cursor
=
cursor
.
to_i
keys
.
each
{
|
k
|
# Migrate keys using the MIGRATE command.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment