-
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
config: show tidb_force_priority should be same as config #9342
Conversation
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #9342 +/- ##
==========================================
+ Coverage 67.18% 67.19% +0.01%
==========================================
Files 371 371
Lines 77618 77618
==========================================
+ Hits 52145 52155 +10
+ Misses 20810 20804 -6
+ Partials 4663 4659 -4
Continue to review full report at Codecov.
|
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.
It seems that we should set the value as this commit does.
It does, see Line 447 in 6136ab1
|
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
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
PTAL @XuHuaiyu |
LGTM |
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
/run-all-tests |
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
What problem does this PR solve?
If the force-priority is set in the config file, it should be the same as the result of
select @@session.tidb_force_priority
when the user has not set it before.What is changed and how it works?
Change the default value for tidb_force_priority the same as it is in the config file.
Check List
Tests
Change the config file and then start the server.
Check the result of
select @@session.tidb_force_priority
.Code changes
Related changes