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 2022/10/26 14:38:13 UTC

[GitHub] [airflow] ephraimbuddy commented on pull request #27297: Fix IntegrityError during webserver startup

ephraimbuddy commented on PR #27297:
URL: https://github.com/apache/airflow/pull/27297#issuecomment-1292153798

   > No issues with plugins any more ?
   
   Yes. What is loaded at that point is web UI plugin. The `ensure_plugins_loaded` which calls the main airflow plugin is not loaded with the app. The problem before was whether it could be a problem with `lazy_load_plugin` config but it's not as only the web UI plugins are loaded during loading of the app: https://github.com/apache/airflow/blob/126b7b8a073f75096d24378ffd749ce166267826/airflow/www/extensions/init_views.py#L123-L147
   
   The `lazy_load_plugin` config is called during startup https://github.com/apache/airflow/blob/126b7b8a073f75096d24378ffd749ce166267826/airflow/__init__.py#L86-L89 which loads the main airflow plugin(not just UI)
   


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