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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to