-
Notifications
You must be signed in to change notification settings - Fork 495
fix: only set CONNECTION_CHECK_MAX_COUNT once
#533
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
fix: only set CONNECTION_CHECK_MAX_COUNT once
#533
Conversation
a0b0c7b to
8d0d00f
Compare
|
Thanks @bitsofdave for the PR - we are running into the same issue with our deployment. @thesuperzapper would it be possible to get this in the next release? |
|
Same here, this breaks pod adoption by the scheduler. Please merge this and ideally do a release as well. |
|
Even we faced the same problem where the scheduler cannot adopt the pod after the scheduler restarts. Please merge this ⚡ |
Signed-off-by: David Lo <[email protected]>
8d0d00f to
5043e60
Compare
thesuperzapper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bitsofdave thanks for the PR, I have rebased and made some small changes (so we can merge and release ASAP).
|
@thesuperzapper by when this code can be expected to be merged and be present as a separate release 🤔 |
|
@SoumyadipAuddy this change will be in version I am currently working through the remaining issues for See the milestone for |
|
Personally, I really don't care about any feature that's planned for |
CONNECTION_CHECK_MAX_COUNT once
What issues does your PR fix?
The double-setting of
CONNECTION_CHECK_MAX_COUNTwas preventing the airflow scheduler from adopting pods due to k8s thinking the env var value was changing when the pod was being patched:The change in question that is preventing the patch request:
What does your PR do?
CONNECTION_CHECK_MAX_COUNTin itsenv:CONNECTION_CHECK_MAX_COUNTis still20(whenairflow.legacyCommands=false)Checklist
For all Pull Requests
For releasing ONLY