-
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
VReplication: VTTablet flag cleanup #14297
VReplication: VTTablet flag cleanup #14297
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
40bd693
to
2af4d07
Compare
Remove long deprecated flags and deprecate additional unnecessary ones. Signed-off-by: Matt Lord <[email protected]>
2af4d07
to
c6a626b
Compare
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[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 with the pflag api change
fs.IntVar(&vreplicationParallelInsertWorkers, "vreplication-parallel-insert-workers", vreplicationParallelInsertWorkers, "Number of parallel insertion workers to use during copy phase. Set <= 1 to disable parallelism, or > 1 to enable concurrent insertion during copy phase.") | ||
|
||
// Deprecated and ignored in v19. | ||
fs.String("vreplication_tablet_type", tabletTypesStr, "Deprecated: comma separated list of tablet types used as a source (ignored)") |
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.
Remove the "deprecated" text from the usage and prefer fs.MarkDeprecated
2d60cfd
to
1aaaba8
Compare
(my bad) |
Signed-off-by: Andrew Mason <[email protected]>
Signed-off-by: Matt Lord <[email protected]> Signed-off-by: Andrew Mason <[email protected]> Co-authored-by: Andrew Mason <[email protected]>
Description
This PR removes some long deprecated flags and deprecates another:
--vreplication_tablet_type
, which at this point only causes confusion as it's entirely unnecessary/unused.Documentation updated here: vitessio/website#1623
Related Issue(s)
Checklist