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
2478b47b
Unverified
Commit
2478b47b
authored
Sep 30, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Sep 30, 2019
Browse files
Merge pull request #6304 from dbenders/fix-issue-6141
Fix issue #6141: cluster rebalance does not support binary key
parents
6a2831c2
b27f3883
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
2478b47b
...
@@ -3298,7 +3298,7 @@ static redisReply *clusterManagerMigrateKeysInReply(clusterManagerNode *source,
...
@@ -3298,7 +3298,7 @@ static redisReply *clusterManagerMigrateKeysInReply(clusterManagerNode *source,
redisReply
*
entry
=
reply
->
element
[
i
];
redisReply
*
entry
=
reply
->
element
[
i
];
size_t
idx
=
i
+
offset
;
size_t
idx
=
i
+
offset
;
assert
(
entry
->
type
==
REDIS_REPLY_STRING
);
assert
(
entry
->
type
==
REDIS_REPLY_STRING
);
argv
[
idx
]
=
(
char
*
)
sdsnew
(
entry
->
str
);
argv
[
idx
]
=
(
char
*
)
sdsnew
len
(
entry
->
str
,
entry
->
len
);
argv_len
[
idx
]
=
entry
->
len
;
argv_len
[
idx
]
=
entry
->
len
;
if
(
dots
)
dots
[
i
]
=
'.'
;
if
(
dots
)
dots
[
i
]
=
'.'
;
}
}
...
...
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