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

swim: support URLs in addition to IPs? #5908

Open
Gerold103 opened this issue Mar 18, 2021 · 0 comments
Open

swim: support URLs in addition to IPs? #5908

Gerold103 opened this issue Mar 18, 2021 · 0 comments
Labels
feature A new functionality
Milestone

Comments

@Gerold103
Copy link
Collaborator

In the external membership module it is possible to specify not only IPs but also URLs to bind to, and to disseminate. Would be good to be able to do the same in the core membership module. It should cover all the features of the external membership so as it could be used instead.

In core swim it is easier to support, because nodes are identified by UUID. It means each node can resolve its own URL to an IP, disseminate the IP, and periodically check if the URL has changed to a new IP. When it happens, it simply disseminates its new IP. The other members of the cluster will see the old and the new IP as one instance, because they have the same UUID, so it should work smoothly. IP change is even already supported.

Swim could re-resolve the URL, say, once per 5 seconds default, and expose it as an option.

@Gerold103 Gerold103 added feature A new functionality incoming labels Mar 18, 2021
@kyukhin kyukhin added this to the wishlist milestone Jul 21, 2021
@kyukhin kyukhin added teamS and removed incoming labels Jul 21, 2021
@TarantoolBot TarantoolBot removed the teamS label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

3 participants