Replies: 1 comment 5 replies
-
|
My best guess is that the file is not generated atomically, and it's not fully written when parser parses it. Typical way of solving it is to write the files elsewhere and "mv" them. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having trouble finding out why some Dags keep increasing their version. I am using Airflow 3.1.7.
We have an internal webpage that generates Python Dags based on a web form. An example of a generated Dag is the following:
The above Dag has 2365 versions:

However, it has not been modified since February 11.
The generated dags live in a folder inside $AIRFLOW_HOME/dags. This folder is a docker volume, mounted on a NFS system and shared with the internal web page. The volume options are:
nfsvers=4.2,addr=172.XX.XX.XX,actimeo=0,hard,rwThe Dag has everything hard-coded, so I am not sure what could be changing. My only idea is that this has something to do with the NFS share?
It is also strange that it increases the version only in some days (as you can see in the screenshot, the last day it increased versions was 2 weeks ago). Not all Dags have the same problem, and not all the Dags that increase their version randomly, increase it at the same day/hour.
Any help will be welcome!
Beta Was this translation helpful? Give feedback.
All reactions