x42005e1f commented on issue #50185:
URL: https://github.com/apache/airflow/issues/50185#issuecomment-2967111308

   > Given that constraint (that we sort of really want to support this code, 
sadly) I'm not sure my queue etc approach will help at all.
   
   As I said in the [comment on the linked 
PR](https://github.com/apache/airflow/pull/51279#issuecomment-2934712813), the 
problem is tied to the async -> sync case in the same thread, which is 
fundamentally unsolvable. However, it is enough to make synchronous and 
asynchronous codes independent of each other to bypass the problem. For 
example, if every read is actually performed in a worker thread.
   
   If your approach has something similar to this, or otherwise removes the 
dependency (created due to synchronization), then it solves this issue as well.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to