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 backfill occassional deadlocking #26161

Merged
merged 2 commits into from
Sep 6, 2022

Commits on Sep 6, 2022

  1. Fix backfill occassional deadlocking

    During backfilling, we set all task instances of the dagrun being run to scheduled,
    this causes deadlocking of the dagrun whenever dagrun.update_state is called and
    there's no running or schedulable task instances.
    The fix was to remove the batch update of the task instances to scheduled state
     and have the executor queue the tasks that the dependencies have been met.
    ephraimbuddy committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    7d68fe4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbaa7ab View commit details
    Browse the repository at this point in the history