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
90b52fde
Commit
90b52fde
authored
Nov 05, 2018
by
artix
Committed by
antirez
Nov 07, 2018
Browse files
Cluster Manager: removed unused var.
parent
89cbb5df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
90b52fde
...
...
@@ -3749,7 +3749,7 @@ static int clusterManagerFixOpenSlot(int slot) {
clusterManagerLogInfo
(
">>> Fixing open slot %d
\n
"
,
slot
);
/* Try to obtain the current slot owner, according to the current
* nodes configuration. */
int
success
=
1
,
keys_in_multiple_nodes
=
0
;
int
success
=
1
;
list
*
owners
=
listCreate
();
list
*
migrating
=
listCreate
();
list
*
importing
=
listCreate
();
...
...
@@ -3772,7 +3772,6 @@ static int clusterManagerFixOpenSlot(int slot) {
"in non-owner node %s:%d!
\n
"
,
slot
,
n
->
ip
,
n
->
port
);
listAddNodeTail
(
owners
,
n
);
keys_in_multiple_nodes
=
1
;
}
if
(
r
)
freeReplyObject
(
r
);
if
(
!
success
)
goto
cleanup
;
...
...
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