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

Flow subcluster info for online-upgrade process #125

Merged
merged 20 commits into from
Dec 13, 2021

Conversation

spilchen
Copy link
Collaborator

The online-upgrade process needs more information about the subcluster. This introduces a new data structure SubclusterHandle that has the Subcluster struct that is stored in etcd plus additional runtime info that is needed for the online-upgrade process.

There is two parts to this change. First is fetching the additional information through sc_finder. The second is flowing the new SubclusterHandle through various functions.

In a subsequent PR, I will start to fill out some of the functions in onlineupgrade_reconcile.go using the data collected in SubclusterHandle.

@spilchen spilchen self-assigned this Dec 13, 2021
@spilchen spilchen requested a review from roypaulin December 13, 2021 13:12
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. Will approve after the tests.

@spilchen spilchen merged commit 2233a9f into vertica:online-upgrade Dec 13, 2021
@spilchen spilchen deleted the subcluster-info branch December 13, 2021 19:44
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