-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Convert several config options to Global sysvars #33769
Comments
/assign |
@CbcWestwolf I've added a column so we can assign sub-issues. There might be a lot of tests that break, so it might be easiest to fix 1-2 per PR :-) |
Hi @morgo @ramanich1 @espresso98 @Alkaagr81 , I'm thinking about 'combing all upgradeTo...() functions into one' for all the PRs that will be released in TiDB v6.1', say, Pros of this idea is we could reduce the number of |
Also, we need to take 'SEM' into consideration. It's better to get the PMs involved for the decision. /cc @SunRunAway @easonn7 |
I have no problems with this change. I don't think we should add upgrade for |
@CbcWestwolf maybe we should update the description for v6.6 etc? |
@dveeden OK, I'll do it. |
Enhancement
The TiDB cloud team has found that they need to modify the following config options, which are currently set in the TiDB configuration file. However, this is annoying since it requires all instances to be modified, and then restarted.
I checked with PM and we agreed that they are actually incorrectly config options and should be GLOBAL sysvars instead. We previously did not have such criteria for which should be a config option vs global sysvar, but we recently decided that the default should be GLOBAL sysvar. Options should only be config/instance scope if they refer to the local resources of the instance (log file locations, ports, etc.)
First Round (v6.1)
Second Round (~v6.2)
Rejected for now
These require further discussion, or a different implementation. See also #34960 which is for instance scoped
For the "Suggested Sysvar name", we should follow the naming and usage proposal, since sysvars have different conventions to configuration options.
The text was updated successfully, but these errors were encountered: