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

集群状态下,某个主节点挂了,会自动切换吗? #43

Open
LiuGangQiang opened this issue Sep 7, 2022 · 1 comment
Open

Comments

@LiuGangQiang
Copy link

目前测试是不会自动切换连接到其他节点,是有特殊的参数要设置吗?

@eyjian
Copy link
Owner

eyjian commented Nov 7, 2022

正常是能自动切换的,构造函数的参数 raw_nodes_string 填写两个 IP 设置为集群模式,两个 IP 可以相同,如果是单个 IP 则是单机模式。

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