airflow db check-migrations -t 0
fails to check migrations in airflow 2.3
#24060
Closed
1 of 2 tasks
Apache Airflow version
2.3.1 (latest released)
What happened
As of Airflow 2.3.0 the
airflow db check-migrations -t 0
command will ALWAYS think there are unapplied migrations (even if there are none to apply), whereas, in Airflow 2.2.5, a single check would be run succeessfully.This was caused by PR #18439, which updated the loop from
while True
(which always loops at least once) tofor ticker in range(timeout)
(which will NOT loop if timeout=0).What you think should happen instead
No response
How to reproduce
No response
Operating System
All
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: