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
46834808
Commit
46834808
authored
May 05, 2011
by
antirez
Browse files
CLUSTER SETSLOT STABLE fixed
parent
4763ecc9
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
46834808
...
...
@@ -1239,6 +1239,7 @@ void clusterCommand(redisClient *c) {
server.cluster.importing_slots_from[slot] = n;
} else if (!strcasecmp(c->argv[3]->ptr,"stable") && c->argc == 4) {
server.cluster.importing_slots_from[slot] = NULL;
server.cluster.migrating_slots_to[slot] = NULL;
} else {
addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments");
return;
...
...
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