Subham-KRLX opened a new pull request, #68118:
URL: https://github.com/apache/airflow/pull/68118

   Fixes `DagFileProcessorManager` silently hanging on DB lock contention 
during startup. 
   
   Instead of risky thread-based heartbeats this PR adds a native 
`with_db_lock_timeout` context manager to the blocking `deactivate_stale_dags` 
and `deactivate_deleted_dags` updates. If a lock timeout occurs it safely rolls 
back logs a warning and skips the iteration so the main loop and `heartbeat()` 
can continue uninterrupted.
   
   closes: #68101
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude(For pr description and code research)


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