-
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
Deprecate enable-semi-sync in favour of RPC parameter #10695
Deprecate enable-semi-sync in favour of RPC parameter #10695
Conversation
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
…n and add a test for cross cell durability policy Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Manan Gupta <[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.
Mostly LGTM. I can re-review once the comments are addressed.
Since we have dropped support for MariaDB 10.2, we can actually go ahead and delete mariadb100.cnf, mariadb101.cnf and mariadb102.cnf.
Signed-off-by: Manan Gupta <[email protected]>
@deepthi History has taught me not to merge |
There is a failing upgrade-downgrade test. Investigating... |
…ng upgrades Signed-off-by: Manan Gupta <[email protected]>
Turned out to be a real easy fix. I had removed |
vitessio#858) * feat: deprecate enable_semi_sync flag Signed-off-by: Manan Gupta <[email protected]> * docs: add the deprecation change to the summary Signed-off-by: Manan Gupta <[email protected]> * test: fix test expectation for vttablet flags Signed-off-by: Manan Gupta <[email protected]> * feat: fix cnf files to not mention the deprecated flag Signed-off-by: Manan Gupta <[email protected]> * feat: remove enable_semi_sync from scripts of examples Signed-off-by: Manan Gupta <[email protected]> * test: remove setting enable_semi_sync flag in testlib tests Signed-off-by: Manan Gupta <[email protected]> * feat: remove enable_semi_sync from a bunch of tests Signed-off-by: Manan Gupta <[email protected]> * test: refactor setup to take in durability policy instead of a boolean and add a test for cross cell durability policy Signed-off-by: Manan Gupta <[email protected]> * feat: add cross cell durability policy to the docs Signed-off-by: Manan Gupta <[email protected]> * feat: fix flag help output Signed-off-by: Manan Gupta <[email protected]> * test: we shouldn't remove enable_semi_sync from tests which are testing upgrades Signed-off-by: Manan Gupta <[email protected]>
Description
This PR deprecates the
enable_semi_sync
flag. Instead, the semi-sync is set using the parameter passed down in the RPC as added in #9533.This also enables us to use the durability policy
cross_cell
since VTOrc and vtctld take over the responsibility of setting the correct semi-sync value instead of a static flag. An end to end test for this durability policy has also been added in this PR.Related Issue(s)
Checklist
Deployment Notes