redis构建集群时出现[ERR] Node 127.0.0.1:7000 is not empty. Either the node already knows other nodes (check

直接把rm /opt/homebrew/var/db/redis/nodes-7003.conf  7001.conf 7002.conf 7004.conf直接删除了

还要删除这个rm ./opt/homebrew/var/db/redis/dump.rdb

但是删除之后 还是报错了  (可能是每删除干净)

 redis-cli --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 --cluster-replicas 1

redis构建集群时出现[ERR] Node 127.0.0.1:7000 is not empty. Either the node already knows other nodes (check_第1张图片

成功喽 

参考文章:

Either the node already knows other nodes (check with CLUSTER NODES) error message on joining a cluster · Issue #3154 · redis/redis · GitHub

你可能感兴趣的:(redis,redis,数据库,linux)