We are running Airflow on Google Cloud Composer (GCC) and we have a very long running task currently live that we want to finish. However, the schedule for the DAG is frequent enough that the next execution will start before this current one is finished.
If we pause the DAG to stop its next scheduled execution, will this also cause the current run to fail?
The end of these docs suggests that we are able to do this.
Unfortunately, we can't edit the code as the run is currently live, so the answer to this question is not possible.
Had a look at the Airflow docs themselves:
So it is possible to pause a DAG to stop any new scheduled executions from running while waiting for the current execution to finish.
However, something to note, is that the task will finish not the entire DAG. So any follow up tasks to the task in question will be paused until the whole DAG is unpaused.