"When you redeploy your ECS service, both the old and new services will be running at the same time for a very short period of time (a couple of seconds). Then, the old service will be shut down. It’s likely that when the old container instance gets terminated, as a result of this transition, one flow run will remain in a Running state (it can’t finish since the underlying container is gone). In terms of your flow process, everything is fine — one flow run instance is still running at the same time, but it now runs in a different container."
08/06/2022, 8:16 AM
Thanks @Anna Geller much appreciated
That explains why when I use local cluster, the flows can "Completed", but when using serverless cluster, it will stuck with "Running". Thanks again, now I can explain to others within organisation.
@Anna Geller I can actually fix that in my flows to use delayed shutdown request for the EC2 instance rather than immediate shutdown after finishing subflows. Thanks again