The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/63926-stale-data-error-scheduler-crash has succeeded.
Run started by GitHub user kalluripradeep (triggered by kalluripradeep).

Head commit for run:
475c91987300e027f871992acd8fb460c806585c / kalluripradeep 
<[email protected]>
fix(scheduler): catch StaleDataError in verify_integrity to prevent scheduler 
crash

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.

Report URL: https://github.com/apache/airflow/actions/runs/25657556008

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to