Hello! We’re running a two node cluster and do rolling deploys in ECS, let’s call them Node A and Node B. When a deploy is triggered, Nodes C/D spin up and join the cluster, then Nodes A/B are destroyed.
If I were to start a Task on Node A and trigger a deploy, will that task get handed off to one of the new Nodes?
Also look into Oban for job processing. It is resistent to restarts since it uses Postgres for keeping state. Here you won’t need any handoff. https://hexdocs.pm/oban/Oban.html