Skip to content
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

Image change can be marked complete before restart of the pods #101

Merged
merged 4 commits into from
Nov 26, 2021

Conversation

spilchen
Copy link
Collaborator

This closes a timing window during upgrade where we can indicate the image change has finished before completing the restart of the pods. There is a check during the restart portion that calls areAllPodsRunningAndZeroInstalled. This returns true if none of the pods exist yet, which is not correct. State that the function uses was being set after checking if the pod exists. If the pod doesn't exist, the state was left unset. The timing hole is closed now that the state is being set correctly.

@spilchen
Copy link
Collaborator Author

fyi @roypaulin, this will fix intermittent failures in the upgrade-vertica-ks-1 e2e testcase

@spilchen spilchen self-assigned this Nov 26, 2021
@roypaulin
Copy link
Collaborator

looks good. but checks were not successful. I guess it has nothing to do with the changes.

@spilchen
Copy link
Collaborator Author

There is a problem building the opm package. It is affecting all builds, so nothing related to this change. I'm looking into it.

@spilchen spilchen merged commit 9f15da3 into vertica:main Nov 26, 2021
@spilchen spilchen deleted the e2e-timing branch November 26, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants