[ 
https://issues.apache.org/jira/browse/AIRFLOW-6175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998402#comment-16998402
 ] 

ASF subversion and git services commented on AIRFLOW-6175:
----------------------------------------------------------

Commit b8c52287a05e40e01cdeb0628835f262a49e292f in airflow's branch 
refs/heads/v1-10-test from Daniel Imberman
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=b8c5228 ]

[AIRFLOW-6175] Fixes bug when tasks get stuck in "scheduled" state (#6732)

(cherry-picked from commit f3bb4c31b866b15a9a87f269073f32fb5374c8e0)

Co-Authored-By: Kaxil Naik <[email protected]>
Co-Authored-By: Kevin Yang <[email protected]>


> Executor changes queued tasks to scheduled without removing from task queue
> ---------------------------------------------------------------------------
>
>                 Key: AIRFLOW-6175
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6175
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.10.6
>            Reporter: Daniel Imberman
>            Priority: Blocker
>             Fix For: 1.10.7
>
>
> There is a bug caused by scheduler_jobs refactor which leads to task failure 
> and scheduler locking.
> Essentially when a there is an overflow of tasks going into the scheduler, 
> the tasks are set back to scheduled, but are not removed from the executor's 
> queued_tasks queue.
> This means that the executor will attempt to run tasks that are in the 
> scheduled state, but those tasks will fail dependency checks. Eventually the 
> queue is filled with scheduled tasks, and the scheduler can no longer run.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to