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
"vscode:/vscode.git/clone" did not exist on "1116bb2c71a79c769b44942944a436b6aafddda5"
Commit
14f2582d
authored
Oct 27, 2014
by
Matt Stancliff
Browse files
Fix redis-trib import SCAN call
parent
6fbaeddf
Changes
1
Show 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