github-actions[bot] opened a new pull request, #75582:
URL: https://github.com/apache/airflow/pull/75582

   The database callback sink committed and closed the scheduler's scoped
   session when sending a callback, detaching the task instance the
   scheduler was about to retry. Archiving the attempt then wrote nothing,
   and inserting the next attempt hit the task_instance_current_key unique
   constraint, which stopped the scheduler.
   
   The sink now adds the request to the caller's session, and the
   scheduler commits it. The Dag-lookup-failure branch of executor event
   processing passes its session to set_state for the same reason.
   (cherry picked from commit 976c1d08f211f1d070c2c39d692a56ecbe4dd67e)
   
   Co-authored-by: Kaxil Naik <[email protected]>


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