[ERR] Node is not empty. Either the node already knows other nodes or contains some key in database

执行
/data/redis-6.2.8-cluster/bin/redis-cli --cluster create 192.168.238.102:6701 192.168.238.102:6702 192.168.238.102:6703 192.168.238.102:6704 192.168.238.102:6705 192.168.238.102:6706 --cluster-replicas 1 

[ERR] Node is not empty. Either the node already knows other nodes or contains some key in database
解决
停掉redis节点服务
将每个节点下aof、rdb、nodes.conf本地备份文件删除;(找不到aof,aof是实时持久化,没有开启过就没有)
然后再重新执行

分享到:
关键词:Redis

网友留言(0 条)

发表评论