Dev-iL commented on code in PR #59218:
URL: https://github.com/apache/airflow/pull/59218#discussion_r2645326449
##########
airflow-core/src/airflow/utils/db.py:
##########
@@ -1120,36 +1195,47 @@ def upgradedb(
exit(1)
if not _get_current_revision(session=session) and not to_revision:
- # Don't load default connections
# New DB; initialize and exit
initdb(session=session)
return
- with create_global_lock(session=session, lock=DBLocks.MIGRATIONS):
- import sqlalchemy.pool
+ if settings.get_engine().dialect.name == "mysql":
Review Comment:
Fixed locally, changes will be visible on the next rebase.
--
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]