-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ddl: tidb_scatter_region
variable supports setting value in both upper/lower case
#57677
Conversation
Hi @River2000i. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes-sigs/prow repository. |
tidb_scatter_region
variable supports setting value in both upper/lower case
Hi @River2000i. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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 kubernetes-sigs/prow repository. |
/ok-to-test |
please check affected version of the issue |
@@ -111,6 +115,19 @@ func TestScatterRegion(t *testing.T) { | |||
tk.MustQuery("select @@global.tidb_scatter_region;").Check(testkit.Rows("global")) | |||
tk.MustExec("set global tidb_scatter_region = '';") | |||
tk.MustQuery("select @@global.tidb_scatter_region;").Check(testkit.Rows("")) | |||
tk2 = testkit.NewTestKit(t, store) |
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.
you can also add some mixed "TablE" cases.
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.
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.
rest lgtm except existing comments
/hold you can unhold after fix the comment |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #57677 +/- ##
================================================
+ Coverage 72.7952% 75.0100% +2.2147%
================================================
Files 1677 1722 +45
Lines 463842 475191 +11349
================================================
+ Hits 337655 356441 +18786
+ Misses 105314 96609 -8705
- Partials 20873 22141 +1268
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/unhold |
@yudongusa @benmeadowcroft PTAL~ |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benmeadowcroft, D3Hunter, lance6716 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
In response to a cherrypick label: new pull request created to branch |
What problem does this PR solve?
Issue Number: close #57669
Problem Summary: variable should accept upper/lower case
What changed and how does it work?
convert value from uppercase to lowercase
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.