Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster_known_nodes值错误 #238

Open
wrizyy450 opened this issue May 5, 2023 · 4 comments
Open

cluster_known_nodes值错误 #238

wrizyy450 opened this issue May 5, 2023 · 4 comments

Comments

@wrizyy450
Copy link

当前是一个24节点的集群,通过cluster info命令突然看到cluster_known_nodes显示为25,持续反复执行cluster info命令会偶尔看到显示为24;查看日志发现,集群在反复地对一个早已缩容并下线的节点,进行delete node和add node操作。不知这个有什么办法可以解决吗

@takenliu
Copy link
Collaborator

takenliu commented May 5, 2023

所有节点都执行cluster forget命令,需要在1分钟以内完成。

@wrizyy450
Copy link
Author

所有节点都执行cluster forget命令,需要在1分钟以内完成。

目前无法锁定node id,日志中显示每次delete的都是旧的id,立马add了一个新的id,尽管ip:port是一样的
c917a4a2-2b15-44f2-8125-0e3fa266d074

@takenliu
Copy link
Collaborator

takenliu commented May 5, 2023

qq群里面联系我,qq群:679757938。

@takenliu
Copy link
Collaborator

takenliu commented May 8, 2023

经追查,是其中一个节点还持有“10...* : 18907”这个node信息,在此节点上面执行cluster forget [nodename]命令就可以了。
注意:日志中async connecting with node [nodename]中的nodename是临时的,调用cluster forget [nodename]命令的时候,要用原来的nodename。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants