o-nikolas commented on code in PR #39212:
URL: https://github.com/apache/airflow/pull/39212#discussion_r1578193059
##########
airflow/providers/amazon/aws/executors/ecs/ecs_executor.py:
##########
@@ -400,7 +400,7 @@ def attempt_task_runs(self):
else:
task = run_task_response["tasks"][0]
self.active_workers.add_task(task, task_key, queue, cmd,
exec_config, attempt_number)
- self.queued(task_key, task.task_arn)
+ self.running_state(task_key, task.task_arn)
Review Comment:
It still functioned _mostly_ correctly. The running and queued task sets are
maintained mostly by the base executor and used for emitting metrics and to
calculate open slots. I think the regression is only present in airflow 2.9
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]