potiuk edited a comment on pull request #9276:
URL: https://github.com/apache/airflow/pull/9276#issuecomment-644079979


   >  What do you mean about "not migrate the database"? As in you expect 
people to start 2.0 with a clean/empty metadata DB?
   
   I do not know what are the plans for now I do not know if it's been 
discussed - the migrations are long time separated between the databases in 
1.10 and 2.0 so I am not sure if there is a clear path (yet) on how to migrate 
from a version of 1.10 to 2.0.
   
   There are few paths  that might be taken for that. I see at least three:
   
   1) migrate the database on a live instance
   
   2) create a new schema and migrate some of the data if you cannot do live DB 
migration for whatever reason/
   
   3) Clean-cut - start with Airflow 2.0 from the scratch having both - old and 
new version of Airflow running for some time keeping the old installation as 
"historical".
   
   I think all of those scenarios are possible and valid, and only 1) requires 
migrating to the latest Airflow before switching to 2.0.
   
   There are pros and cons for all those scenarios and  I am not sure we are 
ready to make a decision on how to do it without checking with our users and 
possibly listening to how they would run the migration in their environments. 
   
   
   I think we should discuss which of the migration paths we are going to 
support from the community point of view.
   
   
   
    
   
   


----------------------------------------------------------------
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.

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


Reply via email to