github-actions[bot] opened a new pull request, #71288:
URL: https://github.com/apache/airflow/pull/71288

   _remove_unreferenced_triggers and _reap_stale_connection_tests are
   registered as periodic scheduler maintenance callbacks via
   EventScheduler.call_regular_interval, which has no exception handling
   around the callback. A single transient failure (e.g. a DB
   statement_timeout) propagates and crashes the whole SchedulerJob.
   
   Add an opt-in catch_exceptions flag (default False, preserving current
   behavior) that logs and swallows an exception from the periodic action
   instead of letting it propagate, so one bad cycle doesn't take down the
   scheduler; the next cycle is still scheduled either way. Enable it for
   the two maintenance callbacks above.
   (cherry picked from commit 5b04b42936f855d989fc1e3ad1c55c82c5800dad)
   
   Co-authored-by: Xu Han <[email protected]>


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