NickYadance commented on issue #27000:
URL: https://github.com/apache/airflow/issues/27000#issuecomment-1278716902

   I'll close the issue cuz i didn't find an easy way to reproduce. The lock 
contention between two queries are quite hard to construct. The workaround 
about this is to reduce how often scheduler checks for timeout triggers to 
avoid potential lock contention.
   
https://github.com/apache/airflow/blob/0d78ba560dec2e7ea2670744800864906622a4a4/airflow/jobs/scheduler_job.py#L1461-L1484
   There is configuration `trigger_timeout_check_interval` default to 15. I 
raise it to a reasonable higher value and the deadlock  issue is greatly 
reduced.   
   
   
   


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