-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Add migration-wait-timeout to the helm chart #20069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add migration-wait-timeout to the helm chart #20069
Conversation
|
Question - what woudl be the cases where timing out on migration is "wrong" ? Wouls not that leave the DB in a state that is not expected ? However I think that one is fine to merge as long as we merge #18439 - because then instead of "hanging" migration you'd get hard failure (which is much better). Is that the idea behind it ? |
Actually, there was a timeout in the helm chart until this change: bced2d7 (which is not released yet). So now, it doesn't wait for migration like before. |
|
Ah I see. But I hope #18439 could be also merged, that would help A LOT in a meaningful message to the user if the timeout actually happens. Or is timeout equivalent with "error" of the wait-for migration init container andr results with "error" ? |
The `airflow db check-migrations` command is missing a migration wait timeout value in the helm chart resulting in unexpected failures at times. This PR adds a default timeout to the command
2492954 to
a01800e
Compare
This, #18439 sadly doesn't get hit due to the TimeoutError as I observed. I'm taking a look at fixing it |
|
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
Co-authored-by: Kaxil Naik <[email protected]>
The
airflow db check-migrationscommand is missing a migration wait timeoutvalue in the helm chart resulting in unexpected failures at times.
This PR adds a default timeout to the command
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.