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 bug that prevented subcluster names with hyphens #151

Merged
merged 4 commits into from
Feb 4, 2022

Conversation

spilchen
Copy link
Collaborator

@spilchen spilchen commented Feb 3, 2022

This is a bug fix for when the subcluster name in the CR includes hyphens. There are a couple of cases where we need to update the default subcluster in Vertica. The SQL we generated for these commands didn't have quotes around the name, so they were failing. Failure to change the default cluster prevented removal subcluster in some cases and messed up the assignment of nodes to subclusters when creating the database.

Updated the multi-sc testcase (now renamed to multi-sc-sanity) to expose the issue that the bug fix resolves.

@spilchen spilchen self-assigned this Feb 3, 2022
Copy link
Collaborator

@roypaulin roypaulin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Are you going to add the changie for my PR that was closed yesterday on this PR?

Copy link
Collaborator

@roypaulin roypaulin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are some conflicts. I hope they won't be difficult to resolve.

@spilchen
Copy link
Collaborator Author

spilchen commented Feb 4, 2022

Thanks for the heads up about the conflicts. It was the copyright year that I changed, so it was an easy resolution.

@spilchen
Copy link
Collaborator Author

spilchen commented Feb 4, 2022

Are you going to add the changie for my PR that was closed yesterday on this PR?

I added the changie in the big copyright year PR I had.

@spilchen spilchen merged commit d8eb758 into vertica:main Feb 4, 2022
@spilchen spilchen deleted the subcluster-name-fix branch February 4, 2022 17:04
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