-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add a new field called "name" to VitessShardTabletPool as part of x-kubernetes-list-map-keys #432
Add a new field called "name" to VitessShardTabletPool as part of x-kubernetes-list-map-keys #432
Conversation
… type in a given cell Signed-off-by: yoheimuta <[email protected]>
|
Thank you for the review! I will address these two points and make the necessary fixes. |
Signed-off-by: Yohei Yoshimuta <[email protected]>
…rnalDatastore Signed-off-by: Yohei Yoshimuta <[email protected]>
1bddd17
to
3695721
Compare
@deepthi Hi, is there anything missing in this PR? |
pkg/operator/vttablet/uid.go
Outdated
@@ -43,11 +43,30 @@ lead time to develop a smarter way to handle tablet identity and MySQL server | |||
IDs in Vitess itself. | |||
|
|||
WARNING: DO NOT change the behavior of this function, as that may result in | |||
the deletion and recreation of all tablets. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we can remove this extra line i think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your review!
I fixed it: 62ea41d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thank you @yoheimuta
Signed-off-by: Yohei Yoshimuta <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
This PR introduces a new field named
"index""name" to thex-kubernetes-list-map-keys
of TabletPools. It enables the presence of multiple TabletPool instances with a specific tablet type in a given cell.By assigning a default value of
0an empty string to theindexname, the existing users and most use cases remain unaffected. Theindexname value can be explicitly set toa value greater than 0something only when building a redundant system with unmanaged tablets.Related Issue(s)