You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Burst (EC2) members of a hybrid job array never read the hybrid registry, so they cannot discover local nodes #918
The hybrid registry (spawn-hybrid-registry) is written by every hybrid member (local nodes and, after #904, spawn burst instances), but it is only read by LocalProvider.DiscoverPeers (pkg/provider/local.go). EC2Provider.DiscoverPeers (pkg/provider/ec2.go) only runs DescribeInstances on spawn:job-array-id, so a burst instance sees its EC2 siblings but never the local nodes it was launched to work alongside. registry.PeerRegistry.DiscoverPeers and registry.DiscoverPeersForJobArray have no non-test callers.
spawn burst's help says burst instances "coordinate with local instances", so the discovery is one-way: local nodes see burst instances, burst instances don't see local nodes.
Verified by reading the code; no instances launched.
Suggested: when Config.Burst is set (added in #904), have the EC2 provider merge registry peers into its tag-based result (or read the registry instead), with a test that a burst member's discovery includes a provider=local registry entry.
Activity
Let spawn burst instances discover local nodes from the hybrid regist…
Publish and refresh hybrid job-array peers for workloads and spored s…
Let spawn burst instances discover local nodes from the hybrid regist…
Let spawn burst instances discover local nodes from the hybrid regist…
Publish and refresh hybrid job-array peers for workloads and spored s…
Publish and refresh hybrid job-array peers for workloads and spored s…