The GitHub Actions job "Tests (AMD)" on airflow.git/backport-dcfa271-v3-2-test 
has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
fc8f2a2c2a352b16d6768d2de74ef873f936db4e / Pradeep Kalluri 
<[email protected]>
[v3-2-test] fix(scheduler): catch StaleDataError in verify_integrity to prevent 
scheduler crash (#64503)

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

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

With regards,
GitHub Actions via GitBox


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

Reply via email to