kaxil commented on pull request #19637:
URL: https://github.com/apache/airflow/pull/19637#issuecomment-972718969


   > > I suggest, we add a flag like I suggested in [#19637 
(comment)](https://github.com/apache/airflow/pull/19637#issuecomment-971786164) 
for users who wants to clear serialized DAGs while upgrade but "-1" for forcing 
it.
   > 
   > If we add a flag, I want it the other ways around, i.e. you need to 
explicitly _opt out_ of auto reserialisation. An opt-in flag is meaningless 
since we can just tell the user to run `airflow dags reserialize` manually 
after `airflow db upgrade`.
   
   @uranusjr I suggested one of the two not both. Check 
https://github.com/apache/airflow/pull/19637#issuecomment-971897110 where I say 
"_I would still suggest of a separate CLI command like #19471 or run airflow db 
upgrade with a flag (--with-reserialize-migrations or similar) to have a switch 
in case things go wrong._"


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