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 2021/06/30 07:51:32 UTC
[GitHub] [airflow] ashb commented on a change in pull request #16718: FIX Slow cleared tasks would be adopted by Celery.
ashb commented on a change in pull request #16718:
URL: https://github.com/apache/airflow/pull/16718#discussion_r661217363
##########
File path: airflow/models/taskinstance.py
##########
@@ -172,6 +172,7 @@ def clear_task_instances(
# original max_tries or the last attempted try number.
ti.max_tries = max(ti.max_tries, ti.prev_attempted_tries)
ti.state = State.NONE
+ ti.external_executor_id = None
Review comment:
Could you check this in the unit tests so we don't regress
--
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