-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Airflow backfilling can't be disabled #16107
Comments
I had this issue also in 2.0.2. Ive just bumped to 2.1.0 and it seems to be fixed in there. |
@motherhubbard tried using 2.1.0 but still have the issue :-/ did u update anything else? |
Can you please add a reproduce example? |
I had a similar issue – in my case it was a mistyped cron that seemingly caused backfills. The trigger seemed to work fine but the intervals were wrong (the cron expressions were like |
Could you open an issue for that? This is an invalid expression (I think) IMO we should prevent this from even being accepted. (I think this is a bug in |
This is a valid cron exp. The 6th parameter means year.
|
That is in line with what I observed! What is weird though is that Airflow would schedule a separate job for every second even if backfilling is disabled. |
So yeah it's a bug in croniter - but your cron expression is valid one it's just doesn't say what it should :) |
@GergelyKalmar can you be more specific about what is the bug?
|
It works as expected when enabling the DAG but when the next scheduled run comes you should see a lot of instances being created (I think one for every second in the given minute). I know it is not exactly backfilling but it kind of looked like it on first sight (just because of the many instances). I've checked your job and I could reproduce the weird behavior with https://github.com/aws/aws-mwaa-local-runner. |
This issue has been automatically marked as stale because it has been open for 30 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author. |
This issue has been closed because it has not received response from the issue author. |
Upgraded to 2.1.2 and still facing the issue even with |
Apache Airflow version: 2.0.2
Kubernetes version (if you are using kubernetes) (use
kubectl version
):What happened:.
Noticed a weird behavior with Airflow backfilling: my previous dags are still queing and running even after doing the following :
What you expected to happen:
I expect the old dags not to be running again.
The text was updated successfully, but these errors were encountered: