-
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
mysqlctl: Remove usage of MYSQL_FLAVOR #13135
mysqlctl: Remove usage of MYSQL_FLAVOR #13135
Conversation
After the changes in vitessio#13123, I realized that there's no cases left where we actually use or depend on `MYSQL_FLAVOR`. This means we can actually remove usages of `MYSQL_FLAVOR`. It doesn't yet remove it from the artifacts we build, because we shouldn't clean that up until v18 then because users might mix versions during the upgrade and we don't want to have old code that still depends on this fail then. Signed-off-by: Dirkjan Bussink <[email protected]>
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
|
Found some remaining references in the docs which I'm cleaning up in vitessio/website#1479. |
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 like it! The MYSQL_FLAVOR related behavior always felt very unintuitive to me for a variety of reasons (e.g. mysql56 is really about MySQL GTID replication and that's it AFAIK).
Thanks!
@dbussink the only thing that I think we might want to do is add a note to the v17 release notes summary that this ENV var is no longer used. IMO we should do that. What do others think? |
Yes, let's do that. |
Signed-off-by: Dirkjan Bussink <[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.
💯
After the changes in #13123, I realized that there's no cases left where we actually use or depend on
MYSQL_FLAVOR
.This means we can actually remove usages of
MYSQL_FLAVOR
. It doesn't yet remove it from the artifacts we build, because we shouldn't clean that up until v18 then because users might mix versions during the upgrade and we don't want to have old code that still depends on this fail then.Related Issue(s)
Follow up to #13123
Checklist