mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Removed TODO in redis-cli
This commit is contained in:
parent
1e4fb1b33a
commit
e47c751c74
@ -4522,7 +4522,6 @@ static int clusterManagerCommandDeleteNode(int argc, char **argv) {
|
||||
if (n->replicate && !strcasecmp(n->replicate, node_id)) {
|
||||
// Reconfigure the slave to replicate with some other node
|
||||
clusterManagerNode *master = clusterManagerNodeWithLeastReplicas();
|
||||
//TODO: check whether master could be the same as node
|
||||
assert(master != NULL);
|
||||
clusterManagerLogInfo(">>> %s:%d as replica of %s:%d\n",
|
||||
n->ip, n->port, master->ip, master->port);
|
||||
|
Loading…
x
Reference in New Issue
Block a user