-
Notifications
You must be signed in to change notification settings - Fork 696
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
system variable: add tidb_restricted_read_only
#7670
system variable: add tidb_restricted_read_only
#7670
Conversation
[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. Reviewer can indicate their review by submitting an approval review. |
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
system-variables.md
Outdated
@@ -754,6 +754,21 @@ Constraint checking is always performed in place for pessimistic transactions (d | |||
- `RESTRICTED_VARIABLES_ADMIN`: The ability to see and set sensitive variables in `SHOW [GLOBAL] VARIABLES` and `SET`. | |||
- `RESTRICTED_USER_ADMIN`: The ability to prevent other users from making changes or dropping a user account. | |||
|
|||
### tidb_restricted_read_only <span class="version-mark">New in v5.2.0</span> |
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.
建议按字母顺序放在下方
This pull request has been accepted and is ready to merge. Commit hash: 710f380
|
In response to a cherrypick label: new pull request created: #8365. |
In response to a cherrypick label: new pull request created: #8366. |
In response to a cherrypick label: new pull request created: #8367. |
In response to a cherrypick label: new pull request created: #8368. |
What is changed, added or deleted? (Required)
Added the description of following configurations:
RESTRICTED_REPLICA_WRITER_ADMIN
in the "privilege-management.md"tidb_restricted_read_only
in the "system-variables.md"Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?