-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Check redshift cluster state before deferring to triggerer #36416
Check redshift cluster state before deferring to triggerer #36416
Conversation
f52ba51
to
a0a9cda
Compare
8abfc67
to
d1e50b4
Compare
d1e50b4
to
ad12d5c
Compare
0310ade
to
40f8e08
Compare
Same comment as #36523, I am not sure we want to do that |
Replied in #36523 (comment) |
40f8e08
to
07d21e7
Compare
…heck cluster_state before deferring logic
07d21e7
to
d412b50
Compare
@pankajkoti Please let me know if there's any other concern on this PR when you're available. Thanks! |
d412b50
to
28f4a03
Compare
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.
I think good to wait for another pair of eyes.
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.
LGTM
While running a task in deferrable mode, the condition might already be met before we defer the task into the trigger. This PR intends to check the redshift cluster status before deferring the task to trigger.
^ 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 newsfragments.