Airflow DAG Run Delay: running State Persists After Tasks Complete #43819
Unanswered
dineshkumar20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I’m encountering an issue in Airflow. I’m running 1,000 DAG runs per minute, and while tasks are completing quickly, the DAG run itself remains in a running state for a few minutes even after all tasks have finished. It takes about 5-6 minutes before the DAG run finally switches to success, which causes other DAG runs to get stuck in the queue.
Does anyone know why the DAG run remains in running even though all tasks have completed?
I noticed in the Airflow UI that the dag_run statuses seem to update in batches, with all statuses changing at the same time. Is there a configuration we can update to reduce this wait time and have the status change immediately?
For reference, I’m using 5 schedulers.
airflow.cfg
Beta Was this translation helpful? Give feedback.
All reactions