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

Don't interrupt a slow Vertica startup #258

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

spilchen
Copy link
Collaborator

When the operator needs to restart a node, it would kill any running Vertica process before it attemps to restart. This was done initially in case a vertica process that was up, stops resonding. However, this behaviour has been problematic if the Vertica startup is just too slow.

This commit will change the behaviour so that it won't uncondionally kill the Vertica process. If the startup.log shows that Vertica is in the process of starting up, then the process is left as is and we requeue the iteration.

When the operator needs to restart a node, it would kill any running
Vertica process before it attemps to restart.  This was done initially
in case a vertica process that was up, stops resonding.  However, this
behaviour has been problematic if the Vertica startup is just too slow.

This commit will change the behaviour so that it won't uncondionally
kill the Vertica process.  If the startup.log shows that Vertica is in
the process of starting up, then the process is left as is and we
requeue the iteration.
@spilchen spilchen self-assigned this Sep 29, 2022
@spilchen spilchen merged commit 98b6a35 into vertica:main Sep 30, 2022
@spilchen spilchen deleted the fix-slow-cluster-restart branch September 30, 2022 00:41
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.

1 participant