projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4763ecc
)
CLUSTER SETSLOT STABLE fixed
author
antirez
<antirez@gmail.com>
Thu, 5 May 2011 15:56:12 +0000
(17:56 +0200)
committer
antirez
<antirez@gmail.com>
Thu, 5 May 2011 15:56:12 +0000
(17:56 +0200)
src/cluster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/cluster.c
b/src/cluster.c
index 0b55b1073dd68a0f13af7f5ebb90815472c66be5..e8ca51cf2a3f77d43167165ed1ef6257d54ddcec 100644
(file)
--- a/
src/cluster.c
+++ b/
src/cluster.c
@@
-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;