[redis] Node is not empty. Either the node already knows other nodes

时间:2022-09-19 23:25:13

Connecting to node 172.168.63.202:7001: OK

[ERR] Node 172.168.63.202:7001 is not empty. Either the nodealready knows other nodes (check with CLUSTER NODES) or contains somekey in database 0.

[redis]  Node is not empty. Either the node already knows other nodes

解决方法:

1)、将需要新增的节点下aof、rdb等本地备份文件删除;

2)、同时将新Node的集群配置文件删除,即:删除你redis.conf里面cluster-config-file所在的文件;

重新执行集群创建命令,即可。