lohitkolluri commented on PR #67900:
URL: https://github.com/apache/airflow/pull/67900#issuecomment-4827211727

   @pierrejeambrun
   
   Reproduced the 500 on macOS — 20 concurrent POST /backfills, 2/2 runs hit 
the lock + orphan. Repro steps and the full traceback posted on #66726.
   
   Also caught an edge case in the cleanup: SQLAlchemy deactivates the session 
on flush failure, so the first `session.execute()` in the previous cleanup 
raised `InvalidRequestError` silently. Fixed with a `session.rollback()` at the 
top of the helper + a test that reproduces the real failed-session state.
   
   Ready for re-review.


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