Open
Description
for some reason we don't use the fact that we can call Sockets.getpeername()
here, instead we read the stdout of the worker process.
This is problemmatic mainly because:
-
the worker nodes always report the first IPv4 interface's address no matter if that's actually the interface it used to contact main node:
https://github.com/JuliaLang/julia/blob/0d00660a38f4d4049e12a97399e4ef613bf0d7dc/stdlib/Sockets/src/addrinfo.jl#L272-L276 -
the worker node may be running inside container (or whatever reason has virtual interface before everything else)
my questions: can we add a specialization for read_worker_host_port
when config.io :: Sockets.TCPSocket
?
Metadata
Metadata
Assignees
Labels
No labels