Airflow monitors the DAG location for new DAGs and picks them up (every minute or so) without needing a restart.
What happens if an updated dag definition is uploaded to the dag location?
Suppose I have a dag named "foodag" which generates 1 file and is run hourly on the hour. At exactly 0100 hrs I deploy a new version of "foodag" which now generates 2 files. There is a run currently starting at 0100 and another one at 0200.
How many files will the run at 0100 generate? Are there any race conditions here? What about the one at 0200?