Replies: 2 comments 1 reply
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe your database is broken. You should upgrade your DB without airflow running. The description of your problem indicates that you broke the database. by running upgrade with airflow running and some deadlocks laading to unfinished migration. Now likely your CLI commands (and possibly more than that) are broken. Restore your DB from backup before migration and perform "proper" migration without airflow running. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apache Airflow version
2.3.2
What happened
Hi, I got into an issue after upgrading from 2.1.2 to 2.3.2
airflow variables list
and it took 4m to completeWhat you think should happen instead
Since I didn't change the amount of variables nor did I experience this issue before the update, I would expect I would expect that the list of variables would be presented in a timely manner also after the update.
How to reproduce
As mentioned, the issue started after upgrading. In order to upgrade I basically use
apache/airflow:2.3.2-python3.9
as a base image. Later when I realised that the update require also a DB migration I run the migration command as described in the docs. It run for a while, and eventually I got an error, about not being able to release a lock from the DB. However, the webserver was working so I ignored it.Operating System
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Versions of Apache Airflow Providers
Deployment
Docker-Compose
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions