ORuteMa commented on issue #28718:
URL: https://github.com/apache/airflow/issues/28718#issuecomment-1467599936

   @potiuk  I believe I have identified the root cause of this issue. When 
using the Celery executor, each task retry is assigned to a different host. 
Additionally, during each run of the task, it refreshes itself from the 
database using 'taskinstance.refresh_from_db'. It then changes the hostname 
field and persists the change. As a result, we lose track of which host was 
used in the previous retry. Therefore, I suggest that we add a new table to 
record the information of different task runs. I am willing to submit a PR.


-- 
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