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

Always run distribution in long names mode #2646

Merged
merged 5 commits into from
Jun 13, 2024
Merged

Conversation

jonatanklosko
Copy link
Member

@jonatanklosko jonatanklosko commented Jun 12, 2024

We've been defaulting to short names distribution, but there is actually no good reason for that. See elixir-lang/elixir#13658.

Short names are more prone to OS misconfiguration, because connecting nodes involves resolving the hostname (and hostname defaults to the machine name). Almost the entirety of our installation FAQ is related to that, and it even suggests longnames as a solution.

Given this new default, I don't think there's any reason to support short names anymore. We are planning more features that involve distribution and supporting both modes would only add unnecessary complexity. The only thing we lose is the ability to connect to short name nodes, but those are basically always local nodes started by the user, in which case they may as well start them as long name nodes.

Copy link

github-actions bot commented Jun 12, 2024

Uffizzi Preview deployment-52994 was deleted.

@jonatanklosko jonatanklosko merged commit ba4e59f into main Jun 13, 2024
8 checks passed
@jonatanklosko jonatanklosko deleted the jk-long-names branch June 13, 2024 08:06
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

Successfully merging this pull request may close these issues.

2 participants