Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0276e554
Commit
0276e554
authored
May 05, 2011
by
antirez
Browse files
Fixed problem in cluster redirection due to a stupid typo
parent
3edbcab9
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
0276e554
...
...
@@ -1650,7 +1650,7 @@ clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **arg
margv
=
ms
->
commands
[
i
].
argv
;
keyindex
=
getKeysFromCommand
(
mcmd
,
margv
,
margc
,
&
numkeys
,
REDIS_GETKEYS_
PRELOAD
);
REDIS_GETKEYS_
ALL
);
for
(
j
=
0
;
j
<
numkeys
;
j
++
)
{
if
(
firstkey
==
NULL
)
{
/* This is the first key we see. Check what is the slot
...
...
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