-
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
Remove Deprecated flags, code and stats. #12083
Conversation
Signed-off-by: Manan Gupta <manan@planetscale.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
fs.Bool("enable_semi_sync", false, "") | ||
fs.MarkDeprecated("enable_semi_sync", "please set the correct durability policy on the keyspace instead.") |
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.
We should remove this flag's usage in our end-to-end tests as well. The field EnableSemiSync
can be removed from LocalProcessCluster
.
I think this would unblock three of the failing CI workflows.
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 just realized that removing flags on main can break upgrade/downgrade tests on v15 - because we test with N+1. We may need to go back and check how this affects those tests on release-15.0 branch.
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 have remove EnableSemiSync
from the vttablet process and the local process cluster. Also @deepthi is right, I'll have to fix upgrade-downgrade tests in v15 too. I'll do that in a separate PR.
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.
Sounds good
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! Let's remember to create a PR on release-15.0
to fix the upgrade/downgrade tests
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
59e6e91
to
292507f
Compare
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.
One more comment, rest LGTM.
Signed-off-by: Manan Gupta <manan@planetscale.com>
There are changes required after this on release-15.0 and also on the vitess-operator. I am working on those now. |
This PR fixes release-15.0 too, so that upgrade-downgrade tests start working again - #12128 |
Description
This PR removed a lot of deprecated flags, code and stats which were deprecated in previous Vitess releases. The following changes have been made -
Keyspace
andTableName
fields have been removed from LogStats.QueriesProcessed
,QueriesRoutedStats
andQueryRowCounts
have been removed.enable_semi_sync
flag has been removed.Related Issue(s)
v16.0.0-RC1
#11749Checklist
Deployment Notes