You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/06 09:31:25 UTC

[GitHub] [airflow] ephraimbuddy commented on a diff in pull request #26161: Fix backfill occassional deadlocking

ephraimbuddy commented on code in PR #26161:
URL: https://github.com/apache/airflow/pull/26161#discussion_r963482812


##########
airflow/jobs/backfill_job.py:
##########
@@ -351,18 +351,19 @@ def _task_instances_for_dag_run(self, dag_run, session=None):
         dag_run.refresh_from_db()
         make_transient(dag_run)
 
+        dag_run.dag = dag

Review Comment:
   when we call `task_instance_scheduling_decision` it tries to do `self.get_dag()` and if the dag attribute is not set, it fails.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org