-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix DagFileProcessor interfering with dags outside its processor_subdir
#33357
Merged
pierrejeambrun
merged 3 commits into
apache:main
from
pierrejeambrun:fix/33310-dag-file-processor-deleted-dags-with-subdir
Aug 14, 2023
Merged
Fix DagFileProcessor interfering with dags outside its processor_subdir
#33357
pierrejeambrun
merged 3 commits into
apache:main
from
pierrejeambrun:fix/33310-dag-file-processor-deleted-dags-with-subdir
Aug 14, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pierrejeambrun
requested review from
jedcunningham,
ephraimbuddy,
kaxil,
XD-DENG and
ashb
as code owners
August 12, 2023 21:23
boring-cyborg
bot
added
area:Scheduler
including HA (high availability) scheduler
area:serialization
labels
Aug 12, 2023
pierrejeambrun
changed the title
Fix/33310 dag file processor deleted dags with subdir
Fix DagFileProcessor interfering with dags outside its Aug 12, 2023
processor_subdir
pierrejeambrun
force-pushed
the
fix/33310-dag-file-processor-deleted-dags-with-subdir
branch
from
August 12, 2023 21:28
20f7763
to
6f56a96
Compare
potiuk
approved these changes
Aug 13, 2023
Nice catch! |
uranusjr
reviewed
Aug 14, 2023
vincbeck
approved these changes
Aug 14, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @uranusjr comment but otherwise, LGTM
Comment was addressed, merging |
pierrejeambrun
deleted the
fix/33310-dag-file-processor-deleted-dags-with-subdir
branch
August 14, 2023 20:45
ferruzzi
pushed a commit
to aws-mwaa/upstream-to-airflow
that referenced
this pull request
Aug 17, 2023
…bdir`` (apache#33357) * Fix standalone DagProcessor interfering with DAG outsite of its subdir * Add tests * Update code review
97 tasks
Closed
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:Scheduler
including HA (high availability) scheduler
area:serialization
type:bug-fix
Changelog: Bug Fixes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes: #33310
DagFileProcessorManager._refresh_dag_dir
should not interfer withSerializedDagModel
,DagModel
orDagCode
outside of itsdag_directory
.Cf original issue but this mostly cause other dags to get wrongly deactivated by other standalone DagProcessor. I assume this can also cause some scheduling delay if the deactivation of the dag happens at the wrong timing.