-
Notifications
You must be signed in to change notification settings - Fork 720
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
bug fix: calculate limit rate bases on minute when mode is auto (#2822) #2826
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Codecov Report
@@ Coverage Diff @@
## release-4.0 #2826 +/- ##
===============================================
- Coverage 77.82% 77.36% -0.46%
===============================================
Files 208 208
Lines 22762 22762
===============================================
- Hits 17714 17610 -104
- Misses 3718 3821 +103
- Partials 1330 1331 +1
Continue to review full report at Codecov.
|
/merge |
/run-all-tests |
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
/merge |
Your auto merge job has been accepted, waiting for:
|
@ti-srebot merge failed. |
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
@ti-srebot merge failed. |
cherry-pick #2822 to release-4.0
Signed-off-by: 1150310621 2604947873@qq.com
What problem does this PR solve?
when store limit mode is auto, tidb calculate limit rate on seconds and add it to schedule config mistakely.
What is changed and how it works?
return the calculated rate without divide by the store balance base time
Release note