-
Notifications
You must be signed in to change notification settings - Fork 73
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
Disable IPV6 support #619
Comments
I never considered this when implementing the original support for ipv6. Looking at the current logic it is pretty obvious that this is an issue. Lines 49 to 68 in 80dabcb
Basically if the leader is a node with both ipv4 and ipv6 interfaces it will choose the ipv6 first. We have a couple of options here. Either as you suggested we allow disabling of ipv6 all together. The other option is to flip the logic to use ipv4 first, which in a scenario where both ipv4 and ipv6 is supported we will use ipv4. This however could be something that other users do not want in a dual stack cluster. Our third option which I am unsure of how that would work is to bind to both interfaces, allowing for either ipv4 or ipv6 p2p connections. I think the first step is to get a dual stack cluster up and running for e2e tests. The second thing we can do is to look at what other solutions do to solve this issue. |
Describe the problem to be solved
In dual-stack cluster where only part of nodes support IPV6, spell sometimes can get the master (lease) with V6 address, which will make V4 only nodes not able to use spegel
Proposed solution to the problem
Add an option to disable V6 or disable the master V6
The text was updated successfully, but these errors were encountered: