-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 unmanaged tablet flag at vttablet level #14871
Merged
GuptaManan100
merged 11 commits into
vitessio:main
from
beingnoble03:add-unmanaged-flag
Mar 14, 2024
+111
−6
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
62b05c2
Add unmanaged flag at vttablet level
beingnoble03 b4fb838
Add unmanaged flag to vttablet.txt and vtcombo.txt for e2e tests
beingnoble03 42a7450
Remove unnecessary variable declarations and assignments
beingnoble03 e7a2e6c
Add fixing replication validation in unmanaged tablets
beingnoble03 97cbe82
Add verifyUnmanagedTabletConfig tests for unmanaged mode
beingnoble03 5292b06
Set DisableActiveReparents to false before checking
beingnoble03 28f7568
Merge remote-tracking branch 'upstream/main' into add-unmanaged-flag
GuptaManan100 5c5840a
feat: add summary changes
GuptaManan100 0623446
refactor: rename variable
GuptaManan100 f69e7fd
Merge remote-tracking branch 'upstream/main' into add-unmanaged-flag
GuptaManan100 e957a3b
feat: address review comments
GuptaManan100 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
People can still not specify this, and just specify the existing set of flags, correct?
We should make this language stronger, and say that we recommend setting this flag so that we can validate all the related flags.
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.
I was thinking about this again, and I believe we should deprecate
--disable_active_reparents
along with adding this flag.For backwards compatibility, we should deprecate
--disable_active_reparents
in v20, and delete it in v21.The internal value of
mysqlctl.DisableActiveReparents
should be the OR of--unmanaged
and--disable_active_reparents
in v20, and just the value of--unmanaged
in v21.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.
disable_active_reparents
is used in vtctldclient as well to prevent that specific instance from running reparent commands. I don't think we can get rid of that. We could rename the flag on vtctld too?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.
It should be fine to leave that flag on vtctld. Having the same flag name on vttablet and vtctld was always confusing. I'm not sure if the two are sharing code which might make this separation more complicated, though.
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.
Done 😎 I made the required changes and deprecated the flag only on the required binaries.