[AIRFLOW-1077] Warn about subdag deadlock case#2367
[AIRFLOW-1077] Warn about subdag deadlock case#2367akosel wants to merge 1 commit intoapache:masterfrom
Conversation
|
@akosel, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mistercrunch, @jlowin and @AntoineAugusti to be potential reviewers. |
docs/concepts.rst
Outdated
There was a problem hiding this comment.
The capitalization is all over the place in this doc, let's stick with "SubDag" since that is what is in code.
|
I think you should create a new issue for this rather than use that one |
|
I think i am running into the same issue. Airflow says the subdags are running, but none of the steps within it are executing. When i restarted airflow, some progress happened, but then it got blocked again. |
bba45c8 to
af32a54
Compare
Codecov Report
@@ Coverage Diff @@
## master #2367 +/- ##
======================================
Coverage 71% 71%
======================================
Files 150 150
Lines 11740 11740
======================================
Hits 8336 8336
Misses 3404 3404Continue to review full report at Codecov.
|
|
I think i also encountered this but it happened once so i cant be sure. |
|
This is a great warning for those who are not on the latest version, but the default executor for SubDags is now the SequentialExecutor. |
|
@yegeiny if someone can overwrite it to local executor then this PR is still needed. If not then maybe commiters should close this. |
|
Great point. I think it's still totally over-writeable. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
Description
Addresses a case that may be counter-intuitive to users where a subdag count greater than the concurrency limit can lead to deadlock. It also suggests a workaround for dealing with this issue.
Tests
It's a comment so there isn't anything to test.
Commits