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

support dag level db cleanup on airflow cli #24828

Open
2 tasks done
davidkl97 opened this issue Jul 4, 2022 · 3 comments
Open
2 tasks done

support dag level db cleanup on airflow cli #24828

davidkl97 opened this issue Jul 4, 2022 · 3 comments
Assignees
Labels
area:CLI kind:feature Feature Requests

Comments

@davidkl97
Copy link

Description

While full db cleanup is useful to run in rare occasions, deleting data regarding to specific dag ids provides modular maintenance method to clean specific "intensive" dags and provide clear context and responsivness in the web ui and interfaces in cluster.

an initial idea was gathered to add optional dag_id key in _TableConfig at db_cleanup.py and append condition in _build_query(after adding the argument of course). Those changes could be provided also in the helm chart as list of cleanup jobs.

would love to hear you inputs about the use case and the implementation relating to the current effort(e.g #24590).
Thanks.

Use case/motivation

  • cleanup of specific "intensive" dags.
  • modular and configurable context and metadata in the web server and the different interfaces.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@davidkl97 davidkl97 added the kind:feature Feature Requests label Jul 4, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Jul 4, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@potiuk
Copy link
Member

potiuk commented Jul 4, 2022

Feel free to implement it. the #24590 is going to be removed - we had recently a discussion in #24591 that led us to rethink if and how we are going to implement click, so there is no impact from that on your work.

It would be a nice feature to add filter by dag-id

@potiuk
Copy link
Member

potiuk commented Jul 4, 2022

Assigned you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:CLI kind:feature Feature Requests
Projects
None yet
3 participants