ephraimbuddy commented on a change in pull request #17719:
URL: https://github.com/apache/airflow/pull/17719#discussion_r693048109



##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -189,80 +189,6 @@ def is_alive(self, grace_multiplier: Optional[float] = 
None) -> bool:
             and (timezone.utcnow() - self.latest_heartbeat).total_seconds() < 
scheduler_health_check_threshold
         )
 
-    @provide_session
-    def _change_state_for_tis_without_dagrun(

Review comment:
       Since tasks will no longer exist without dagrun, obviously the dag will 
fail or succeed and tis won't be stuck. I think we should remove these lines.:
   
https://github.com/apache/airflow/blob/5d90bcb93a4318de7db7fd5527bb45c823fb0dab/airflow/jobs/scheduler_job.py#L603-L604




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to