You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting a DAG run through the Web UI, the entries in the table task_instance (Airflow DB) don't get deleted.
I have noticed this whilst testing the logging to S3. When the DAG runs the first time, the logs are generated and stored to S3 (and Airflow UI) successfully.
When the DAG run is deleted and the DAG runs again, the logs are not generated.
I did some debugging and I have noticed that deleting the DAG run through the UI doesn't delete the entries for the tasks in the task_instance table. Deleting those entries manually, before the DAG runs again, has fixed the logging problem (logs are written again to S3 and UI).
What you expected to happen:
Deleting a DAG run through the UI should re-trigger the DAG run and the logs for the tasks in that run should be written to the destination that has been set up.
How to reproduce it:
Run a DAG once
Check that the logs have been written
Delete the DAG run
Check that no log has been written
The text was updated successfully, but these errors were encountered:
Apache Airflow version: 2.0.2
Kubernetes version:
Environment: bitnami/airflow: 2.0.2
What happened:
When deleting a DAG run through the Web UI, the entries in the table task_instance (Airflow DB) don't get deleted.
I have noticed this whilst testing the logging to S3. When the DAG runs the first time, the logs are generated and stored to S3 (and Airflow UI) successfully.
When the DAG run is deleted and the DAG runs again, the logs are not generated.
I did some debugging and I have noticed that deleting the DAG run through the UI doesn't delete the entries for the tasks in the task_instance table. Deleting those entries manually, before the DAG runs again, has fixed the logging problem (logs are written again to S3 and UI).
What you expected to happen:
Deleting a DAG run through the UI should re-trigger the DAG run and the logs for the tasks in that run should be written to the destination that has been set up.
How to reproduce it:
The text was updated successfully, but these errors were encountered: