github-actions[bot] opened a new pull request, #66727: URL: https://github.com/apache/airflow/pull/66727
Closes #63926 StaleDataError raised by SQLAlchemy's optimistic locking when a concurrent session modifies the same row can cause the scheduler to crash during verify_integrity. Fix by catching StaleDataError alongside IntegrityError in dagrun.verify_integrity() and adding it to the retry exceptions in run_with_db_retries()/retry_db_transaction() so the operation is retried automatically. (cherry picked from commit dcfa2715632de7f665c3eba1b42d2e3084f08361) Co-authored-by: Pradeep Kalluri <[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]
