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
3b5289a0
Commit
3b5289a0
authored
Sep 29, 2011
by
antirez
Browse files
added comment about SETSLOT NODE form.
parent
7afc3a96
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
3b5289a0
...
@@ -1240,9 +1240,10 @@ void clusterCommand(redisClient *c) {
...
@@ -1240,9 +1240,10 @@ void clusterCommand(redisClient *c) {
clusterSaveConfigOrDie
();
clusterSaveConfigOrDie
();
addReply
(
c
,
shared
.
ok
);
addReply
(
c
,
shared
.
ok
);
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"setslot"
)
&&
c
->
argc
>=
4
)
{
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"setslot"
)
&&
c
->
argc
>=
4
)
{
/* SETSLOT 10 MIGRATING <
instanc
e ID> */
/* SETSLOT 10 MIGRATING <
nod
e ID> */
/* SETSLOT 10 IMPORTING <
instanc
e ID> */
/* SETSLOT 10 IMPORTING <
nod
e ID> */
/* SETSLOT 10 STABLE */
/* SETSLOT 10 STABLE */
/* SETSLOT 10 NODE <node ID> */
int
slot
;
int
slot
;
clusterNode
*
n
;
clusterNode
*
n
;
...
...
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