Skip to content
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

Feature to allow configurable dag retry and dag time out on airflow #626

Open
irainia opened this issue Oct 3, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@irainia
Copy link
Member

irainia commented Oct 3, 2022

Description

With this feature, the user could define the number of retry and the number of time out in their job spec. This allows more flexibility to the user, especially if there is a valid-long-running job happening.

Solution
Under job spec metadata, with airflow specific config, add two more fields (field name is discussable):

  • Retry
  • Timeout

We will need to update base_dag.py as well to accommodate this feature. Along with this, we have to ensure the order of assignment is fulfilled.

  • if the fields are configured in the job spec, then we will use it regardless of the env
  • if the fields are not configured, then we will use the env
  • if the env is not set, then we will use default values
@irainia irainia added the enhancement New feature or request label Oct 3, 2022
@irainia irainia added this to the Reliability - 2022 H2 milestone Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant