-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Retries use an incorrect parameter set #1719
Labels
Comments
davidboren
changed the title
Retries use an incorrect
Retries use an incorrect parameter set
Oct 31, 2019
Possibly related to #1713 |
Hello @davidboren, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
When tasks within a dag share a template, on retry these tasks will use an incorrect parameter set (Possibly belonging to the first task registered with said template)
What you expected to happen:
A retry should use the same parameter set as the first attempt
How to reproduce it (as minimally and precisely as possible):
The following dag workflow has a first task, A, and 3 subsequent tasks, B, C, and D, which each have A as their only dependency. The retries are set on the template (shared between all tasks) with a limit of 3. The tasks are simple python scripts that are parameterized via an env variable that takes in TASK_NAME as an input parameter, and the script raises an exception when the TASK_NAME is C or D. The first try of C and D uses the correct parameterization and fails, but the retries of both tasks, though they show the correct parameterization in the ui, are actually parameterized with
A
, causing them to pass on the second try rather than fail again, as they ought to.Anything else we need to know?:
Environment:
Other debugging information (if applicable):
The text was updated successfully, but these errors were encountered: