tirkarthi commented on issue #59220: URL: https://github.com/apache/airflow/issues/59220#issuecomment-3632274911
Clearing a dagrun in running state doesn't move it to queued to be moved to running state by scheduler. The dagrun remains in running state. Related commit that made this change in Airflow 2.7.0 before which clearing will always set the dagrun state to queued. Perhaps for deadlines use case the `dr.queued_at` could be updated irrespective of the dagrun's current state during clearing but that's still semantically little different because dagrun never moves to queued state to update `queued_at` and then to later become running. Ref commit : https://github.com/apache/airflow/commit/070ecbd87c5ac067418b2814f554555da0a4f30c -- 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]
