EricGao888 commented on pull request #19471:
URL: https://github.com/apache/airflow/pull/19471#issuecomment-988441211


   > Workers don’t need DAG information, only the scheduler does.
   
   Thanks for the reply. Another question is will the python script `from 
airflow.models.serialized_dag import SerializedDagModel
   from airflow.settings import Session
   session = Session()
   session.query(SerializedDagModel).delete()
   session.commit()` work for airflow 1.10.12?
   
![image](https://user-images.githubusercontent.com/34905992/145137812-9cf47bec-9f39-4bbf-aa8b-c273c70ee3d0.png)
   I found the some info from 
https://airflow.apache.org/docs/apache-airflow/stable/dag-serialization.html
   It seems in airflow 1.10.12, the scheduler does not use Serialized DAGS. 
Does it mean the sync py script in https://github.com/apache/airflow/pull/19471 
does not work for airflow 1.10.12? I did a quick test and didn’t get the dags 
synced in airflow 1.10.12. Did I miss any important information?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to