[
https://issues.apache.org/jira/browse/AIRFLOW-6175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998123#comment-16998123
]
ASF subversion and git services commented on AIRFLOW-6175:
----------------------------------------------------------
Commit 7837b008a22c74beaf1ef3436010c9ce8ad6019e in airflow's branch
refs/heads/v1-10-test from Daniel Imberman
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=7837b00 ]
[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)