Skip to content

fix: handle unmapped task deadlock when upstream tasks are removed#56678

Closed
kevinhongzl wants to merge 1 commit intoapache:mainfrom
kevinhongzl:fix-reducing-mapped-task-deadlock
Closed

fix: handle unmapped task deadlock when upstream tasks are removed#56678
kevinhongzl wants to merge 1 commit intoapache:mainfrom
kevinhongzl:fix-reducing-mapped-task-deadlock

Conversation

@kevinhongzl
Copy link
Copy Markdown
Contributor

closes: #48816
related: #26518

While the issue of deadlock caused by removing upstream mapped tasks has been addressed in #26518, that PR only handled cases where the downstream tasks were also mapped. This PR addresses the task deadlock occurring on downstream unmapped tasks.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@kevinhongzl kevinhongzl force-pushed the fix-reducing-mapped-task-deadlock branch from 02c4f2e to dfc52dc Compare October 15, 2025 17:40
@uranusjr
Copy link
Copy Markdown
Member

Is it possible to have a test case for this?

@kevinhongzl kevinhongzl force-pushed the fix-reducing-mapped-task-deadlock branch from dfc52dc to 15845b6 Compare October 30, 2025 16:56
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Dec 16, 2025
@kevinhongzl kevinhongzl marked this pull request as draft December 17, 2025 16:33
@github-actions github-actions bot removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Dec 18, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 1, 2026

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Feb 1, 2026
@github-actions github-actions bot closed this Feb 8, 2026
@kevinhongzl kevinhongzl deleted the fix-reducing-mapped-task-deadlock branch February 16, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reducing the number of mapped tasks causes a deadlock when executing the following normal tasks.

2 participants