Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Deferrable stuck as "scheduled" during backfill #26205

Merged
merged 3 commits into from Sep 23, 2022

Conversation

ephraimbuddy
Copy link
Contributor

@ephraimbuddy ephraimbuddy commented Sep 7, 2022

When the triggerer puts the task to scheduled, it gets stuck because it's already in ti_status.running. We need to move it to ti_status.to_run for it to continue running

closes: #25653

@boring-cyborg boring-cyborg bot added the area:Scheduler Scheduler or dag parsing Issues label Sep 7, 2022
@ashb ashb added this to the Airflow 2.4.1 milestone Sep 14, 2022
ephraimbuddy and others added 3 commits September 20, 2022 09:48
When the triggerer puts the task to scheduled, it gets stuck because
it's already in ti_status.running. We need to move it to ti_status.to_run for it to continue running
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@uranusjr uranusjr changed the title Fix Deferrable Operators get stuck as "scheduled" during backfill Fix Deferrable stuck as "scheduled" during backfill Sep 23, 2022
@uranusjr uranusjr merged commit 3396d1f into apache:main Sep 23, 2022
@uranusjr uranusjr deleted the fix-backfilling-deferrable branch September 23, 2022 05:08
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Sep 23, 2022
jedcunningham pushed a commit that referenced this pull request Sep 23, 2022
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit 3396d1f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler Scheduler or dag parsing Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deferrable Operators get stuck as "scheduled" during backfill
5 participants