*: Change dynamic privileges to non-experimental#24914
Conversation
| s.EnableDynamicPrivileges = TiDBOptOn(val) | ||
| return nil | ||
| }}, | ||
| {Scope: ScopeGlobal | ScopeSession, Name: TiDBEnableDynamicPrivileges, Value: On, Type: TypeBool, Hidden: true}, |
There was a problem hiding this comment.
This is just changed to hidden for a small amount of time so that the tidb-tests and tipocket tests that try to set this will still work.
There was a problem hiding this comment.
Do we want to remove it in the future?
There was a problem hiding this comment.
If it's not in any release branches, remove it is OK, otherwise if a global variable is released and user use it, it's hard to change without affecting compatibility.
There was a problem hiding this comment.
I plan to remove it. If I remove it right now though, the tidb-test and tipocket tests will fail (since they attempt to set it).
I will instead merge this, fix the tests, and then create a small followup PR.
|
/lgtm |
|
PTAL @tiancaiamao |
|
/LGTM |
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by writing |
|
/merge |
|
@morgo: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: c448423 |
|
@morgo: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/run-unit-test |
What problem does this PR solve?
Problem Summary:
This PR proposes switch dynamic privileges from experimental to enabled by default.
The rationale being:
What is changed and how it works?
Proposal: https://github.com/pingcap/tidb/blob/master/docs/design/2021-03-09-dynamic-privileges.md
What's Changed:
Switching from experimental to table.
Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note