manipatnam commented on code in PR #72054: URL: https://github.com/apache/airflow/pull/72054#discussion_r4739549823
########## airflow-core/newsfragments/72054.bugfix.rst: ########## @@ -0,0 +1 @@ +Fix DAG runs belonging to a completed backfill getting stuck in ``queued`` forever. Cancelling a backfill sets ``is_paused=True`` and ``completed_at`` on the backfill record. If one of that backfill's DAG runs was later cleared, it returned to the ``queued`` state but the scheduler's promotion query skipped any run whose backfill is paused, ignoring ``completed_at``. Such runs could never start again. The scheduler now treats ``is_paused`` as meaningful only while a backfill is still running, so runs tied to an already-completed backfill are schedulable again and previously stranded runs recover automatically. Review Comment: Dropped. -- 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]
