Skip to content

Commit 7023c60

Browse files
authored
Merge pull request #29 from JuliaParallel/interface-selection
Fix network interface selection and bump version
2 parents ee6e544 + bc421f5 commit 7023c60

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DistributedNext"
22
uuid = "fab6aee4-877b-4bac-a744-3eca44acbb6f"
3-
version = "1.0.0"
3+
version = "1.1.0"
44

55
[deps]
66
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

docs/src/_changelog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CurrentModule = DistributedNext
77
This documents notable changes in DistributedNext.jl. The format is based on
88
[Keep a Changelog](https://keepachangelog.com).
99

10-
## Unreleased
10+
## [v1.1.0] - 2025-08-02
1111

1212
### Fixed
1313
- Fixed a cause of potential hangs when exiting the process ([#16]).
@@ -19,6 +19,9 @@ This documents notable changes in DistributedNext.jl. The format is based on
1919
port is specified. Previously this would cause errors when the workers all
2020
tried to bind to the same port, now all additional workers will treat the bind
2121
port as a port hint ([#19]).
22+
- Fixed a bug in the network interface selection code that would cause it to
23+
error when only a subset of interfaces reported the negotiation speed
24+
([#29]).
2225

2326
### Added
2427
- A watcher mechanism has been added to detect when both the Distributed stdlib

src/cluster.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,8 +1374,8 @@ function init_bind_addr()
13741374
# If none of them report speed just pick the first one
13751375
bind_addr = string(interfaces[1].ip)
13761376
else
1377-
idx = findmax(x -> x.speed, interfaces)[2]
1378-
bind_addr = string(interfaces[idx].ip)
1377+
idx = findmax(x -> x.speed, interfaces_with_speed)[2]
1378+
bind_addr = string(interfaces_with_speed[idx].ip)
13791379
end
13801380
end
13811381
end

0 commit comments

Comments
 (0)