You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "chloe-current (via GitHub)" <gi...@apache.org> on 2026/01/30 21:11:01 UTC
Re: [PR] Immediately persist new `TaskInstanceHistory` records [airflow]
chloe-current commented on PR #48780:
URL: https://github.com/apache/airflow/pull/48780#issuecomment-3825755291
We've run into this same issue due to the performing a database transaction inside `on_retry_callback` (in our case, accessing a connection through a hook). Our workaround was to start and join `on_retry_callback` in a different thread, which creates a new threadlocal database session
--
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