Skip to content

[v3-1-test] Fix dag-processor crashing due to MySql deadlock errors (#60166) - #60418

Merged
ephraimbuddy merged 1 commit into
v3-1-testfrom
backport-dfcd049-v3-1-test
Jan 14, 2026
Merged

ephraimbuddy merged 1 commit into
v3-1-testfrom
backport-dfcd049-v3-1-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

MySQL may throw deadlock errors when multiple DAG-Processor instances are
running. The issue is a fetch sub-query being used within a delete query, which
is sometimes causing a deadlock in MySQL.


(cherry picked from commit dfcd049)

Co-authored-by: Sumit Maheshwari [email protected]
Co-authored-by: Sumit Maheshwari [email protected]
Co-authored-by: Jarek Potiuk [email protected]

…60166)

MySQL may throw deadlock errors when multiple DAG-Processor instances are
running. The issue is a fetch sub-query being used within a delete query, which
is sometimes causing a deadlock in MySQL.

---------
(cherry picked from commit dfcd049)

Co-authored-by: Sumit Maheshwari <[email protected]>
Co-authored-by: Sumit Maheshwari <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
@ephraimbuddy
ephraimbuddy force-pushed the backport-dfcd049-v3-1-test branch from d5e10f9 to b1f5ae2 Compare January 14, 2026 10:43
@ephraimbuddy
ephraimbuddy marked this pull request as ready for review January 14, 2026 10:43
@ephraimbuddy
ephraimbuddy merged this pull request into v3-1-test Jan 14, 2026
1 check passed
@ephraimbuddy
ephraimbuddy deleted the backport-dfcd049-v3-1-test branch January 14, 2026 11:34
ephraimbuddy pushed a commit that referenced this pull request Jan 14, 2026
…60166) (#60418)

MySQL may throw deadlock errors when multiple DAG-Processor instances are
running. The issue is a fetch sub-query being used within a delete query, which
is sometimes causing a deadlock in MySQL.

---------
(cherry picked from commit dfcd049)

Co-authored-by: Sumit Maheshwari <[email protected]>
Co-authored-by: Sumit Maheshwari <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
ephraimbuddy pushed a commit that referenced this pull request Jan 16, 2026
…60166) (#60418)

MySQL may throw deadlock errors when multiple DAG-Processor instances are
running. The issue is a fetch sub-query being used within a delete query, which
is sometimes causing a deadlock in MySQL.

---------
(cherry picked from commit dfcd049)

Co-authored-by: Sumit Maheshwari <[email protected]>
Co-authored-by: Sumit Maheshwari <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 27, 2026
@ephraimbuddy ephraimbuddy added this to the Airflow 3.1.7 milestone Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants