mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Cluster Manager: added clusterManagerCheckCluster to import command
This commit is contained in:
parent
eaaa3202e6
commit
81ab5a3b28
@ -4698,6 +4698,7 @@ static int clusterManagerCommandImport(int argc, char **argv) {
|
|||||||
|
|
||||||
clusterManagerNode *refnode = clusterManagerNewNode(ip, port);
|
clusterManagerNode *refnode = clusterManagerNewNode(ip, port);
|
||||||
if (!clusterManagerLoadInfoFromNode(refnode, 0)) return 0;
|
if (!clusterManagerLoadInfoFromNode(refnode, 0)) return 0;
|
||||||
|
if (!clusterManagerCheckCluster(0)) return 0;
|
||||||
char *reply_err = NULL;
|
char *reply_err = NULL;
|
||||||
redisReply *src_reply = NULL;
|
redisReply *src_reply = NULL;
|
||||||
// Connect to the source node.
|
// Connect to the source node.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user