mirror of
https://github.com/fluencelabs/redis
synced 2025-03-21 01:50:50 +00:00
Cluster Manager: removed unused var.
This commit is contained in:
parent
18ddbf0352
commit
3a2d82ae8e
@ -3749,7 +3749,7 @@ static int clusterManagerFixOpenSlot(int slot) {
|
|||||||
clusterManagerLogInfo(">>> Fixing open slot %d\n", slot);
|
clusterManagerLogInfo(">>> Fixing open slot %d\n", slot);
|
||||||
/* Try to obtain the current slot owner, according to the current
|
/* Try to obtain the current slot owner, according to the current
|
||||||
* nodes configuration. */
|
* nodes configuration. */
|
||||||
int success = 1, keys_in_multiple_nodes = 0;
|
int success = 1;
|
||||||
list *owners = listCreate();
|
list *owners = listCreate();
|
||||||
list *migrating = listCreate();
|
list *migrating = listCreate();
|
||||||
list *importing = listCreate();
|
list *importing = listCreate();
|
||||||
@ -3772,7 +3772,6 @@ static int clusterManagerFixOpenSlot(int slot) {
|
|||||||
"in non-owner node %s:%d!\n", slot,
|
"in non-owner node %s:%d!\n", slot,
|
||||||
n->ip, n->port);
|
n->ip, n->port);
|
||||||
listAddNodeTail(owners, n);
|
listAddNodeTail(owners, n);
|
||||||
keys_in_multiple_nodes = 1;
|
|
||||||
}
|
}
|
||||||
if (r) freeReplyObject(r);
|
if (r) freeReplyObject(r);
|
||||||
if (!success) goto cleanup;
|
if (!success) goto cleanup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user