ashb commented on code in PR #73554:
URL: https://github.com/apache/airflow/pull/73554#discussion_r4084024495
##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -418,6 +416,8 @@ def clear_task_instances(
# set its state to RESTARTING so that
# the task is terminated and becomes eligible for retry.
else:
+ previous_try_number = ti.try_number
+ ti.prepare_db_for_next_try(session)
Review Comment:
Fixed in 5728ee5650 (not pushed yet)
--
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]