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

Fix timing that causes db add node before install #411

Merged
merged 2 commits into from
May 30, 2023

Conversation

spilchen
Copy link
Collaborator

There is a small timing window with the operator where we would attempt to do an add node before a pod has run install. This isn't a huge problem as the add node would fail and do things in the correct order in the subsequent reconcile iteration. But fixing this will cut down on the amount of noise in the operator log.

The fix is to check for the install state when we run add node. If we find a pod with a missing db and it doesn't have an install, we will requeue rather than attempting the add node.

Matt Spilchen added 2 commits May 26, 2023 16:28
There is a small timing window with the operator where we would attempt
to do an add node before a pod has run install. This isn't a huge
problem as the add node would fail and do things in the correct order in
the subsequent reconcile iteration. But fixing this will cut down on the
amount of noise in the operator log.

The fix is to check for the install state when we run add node. If we
find a pod with a missing db and it doesn't have an install, we will
requeue rather than attempting the add node.
@spilchen spilchen requested a review from roypaulin May 29, 2023 11:44
@spilchen spilchen self-assigned this May 29, 2023
@spilchen spilchen merged commit 90d4181 into vertica:main May 30, 2023
@spilchen spilchen deleted the bugfix/add-node-before-install branch May 30, 2023 11:45
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