-
Notifications
You must be signed in to change notification settings - Fork 14
Worker: Bind to the first non-link-local IPv4 address #137
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
Conversation
@tanmaykm Can you review this? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #137 +/- ##
==========================================
- Coverage 79.42% 79.38% -0.04%
==========================================
Files 10 10
Lines 1949 1955 +6
==========================================
+ Hits 1548 1552 +4
- Misses 401 403 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I have no idea if someone is depending on this functionality, but just to be safe could we prioritize non-link-local addresses instead of completely ignoring link-local addresses? |
Seems reasonable to me. So how about this logic:
Do we need to support IPv6? Or does Distributed only support IPv4? |
Yep that sounds good to me 👍 Distributed should be able to support IPv6 too, but for the sake of matching the old behaviour and making the PR safe to backport I'd stick with IPv4 when choosing an interface automatically. |
d9805b3
to
2a6ee53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
😭 I should have squash-merged this. Too late now. |
Does this need to be backported to the |
Yeah. |
And ideally also 1.11, since Julia 1.12 isn't out yet. |
This is a manual backport of JuliaLang/Distributed.jl#137 to Julia 1.10.x
Here's the backport to Julia 1.10: |
The backport to Julia 1.12 is included in this: |
…n-link-local IPv4 address (#58895) This is a manual backport of JuliaLang/Distributed.jl#137 to Julia 1.10.x. Targets `backports-release-1.10` (#58889). This is a bugfix, and thus it is eligible to be backported.
Worker: Bind to the first non-link-local IPv4 address (cherry picked from commit 3679026)
* Merge pull request #137 from JuliaLang/dpa/dont-use-link-local Worker: Bind to the first non-link-local IPv4 address (cherry picked from commit 3679026) * Bump actions/cache from 1 to 4 (#98) Bumps [actions/cache](https://github.com/actions/cache) from 1 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v1...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit cde4078) * `release-julia-1.11`: Run CI on Julia 1.11.x (#142) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The backport to 1.11 is included in this: Which has been merged into this: |
No description provided.