You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/23 13:40:24 UTC

[GitHub] [airflow] ashb commented on pull request #18439: Check and run migration in webserver startup if necessary

ashb commented on pull request #18439:
URL: https://github.com/apache/airflow/pull/18439#issuecomment-925826422


   I feel uneasy about automatically running migrations for non-automated approaches.
   
   What I propse we do is:
   
   - When connected to a TTY: prompt the user if they want to run migrations if there are any outstanding
   - When not connected to a TTY (i.e. a daemon or non-attached container for instance) just error.
   
   That feels much safer than automatically running a potential long migration when the user isn't expecting -- doubly so in the case of MySQL where DDL etc is non transactional so the process can't even be safely interrupted!


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org