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

feat(pd): report bind errors on startup #3555

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

conorsch
Copy link
Contributor

@conorsch conorsch commented Jan 2, 2024

A common problem for node operators is sorting out which ports are required to be available on the system prior to running. We've recently improved the documentation to be more explicit about this [0], but here we add explicit error messages when binds fail. This addition should make reasoning about network surface more straightforward, and eliminate guessing games to figure out which port needs to be overridden or freed.

[0] c0445f3

A common problem for node operators is sorting out which ports are
required to be available on the system prior to running. We've recently
improved the documentation to be more explicit about this [0], but here
we add explicit error messages when binds fail. This addition should
make reasoning about network surface more straightforward, and eliminate
guessing games to figure out which port needs to be overridden or freed.

[0] c0445f3
@conorsch
Copy link
Contributor Author

conorsch commented Jan 3, 2024

I made sure to make this diff compatible with v0.64.1, so that we can issue it as a point release. It's a minor change, and there's a lot of discussion in Discord about bind ports.

@hdevalence hdevalence merged commit 8680e83 into main Jan 4, 2024
7 checks passed
@hdevalence hdevalence deleted the report-errors-on-pd-bind-failures branch January 4, 2024 16:16
@conorsch
Copy link
Contributor Author

conorsch commented Jan 8, 2024

Backported to v0.64.x in #3590.

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