tirkarthi commented on PR #64869:
URL: https://github.com/apache/airflow/pull/64869#issuecomment-4352752475

   The PR was simpler to apply to our 3.1.x branch as the locking is moved 
closer to `asend`. There have been no issues after 6-7 hours of applying this 
patch. Using `await asyncio.to_thread(self._thread_lock.acquire)` waits for the 
lock and also yields control to event loop so that the other awaitables are 
completed to release the lock compared to `with self._thread_lock` which blocks 
the other awaitables to complete resulting in deadlock.


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