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

Support bind port hints #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Support bind port hints #19

wants to merge 2 commits into from

Conversation

JamesWrigley
Copy link
Collaborator

@JamesWrigley JamesWrigley commented Jan 7, 2025

Quick explanation:

  • 88faa86 is the new feature to support setting a bind port hint in the machine spec.
  • cdabed6 fixes addprocs([("machine 10.1.1.1:9000", 2)]) by using the bind port as a port hint for all the other workers.

Fixes JuliaLang/Distributed.jl#119. If this is merged I'll backport it to Distributed.

@JamesWrigley JamesWrigley requested a review from jpsamaroo January 7, 2025 12:11
@JamesWrigley JamesWrigley self-assigned this Jan 7, 2025
Otherwise all the workers would try to bind to the same port, which would cause
an error.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.14%. Comparing base (0cca4d3) to head (cdabed6).

Files with missing lines Patch % Lines
src/cluster.jl 95.45% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   88.24%   88.14%   -0.11%     
==========================================
  Files          11       11              
  Lines        2068     2084      +16     
==========================================
+ Hits         1825     1837      +12     
- Misses        243      247       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Handle multiple workers added on a node with the bind port specified
2 participants