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

Head commit for run:
f5b7f61eddec737c334ad36a7f683083b407378e / 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/25638437835

With regards,
GitHub Actions via GitBox


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

Reply via email to