-
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
controller: fix the low_ru request missed #8368
Conversation
Signed-off-by: nolouch <[email protected]>
Signed-off-by: nolouch <[email protected]>
ci failed 2024-07-05T08:05:20.6795433Z limiter_test.go:164:
2024-07-05T08:05:20.6796168Z Error Trace: /home/runner/work/pd/pd/client/resource_group/controller/limiter_test.go:164
2024-07-05T08:05:20.6796820Z Error: Not equal:
2024-07-05T08:05:20.6797226Z expected: 4s
2024-07-05T08:05:20.6797633Z actual : 0s
2024-07-05T08:05:20.6797983Z Test: TestCancel |
Signed-off-by: nolouch <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8368 +/- ##
==========================================
- Coverage 77.15% 77.14% -0.02%
==========================================
Files 470 470
Lines 61681 61686 +5
==========================================
- Hits 47589 47586 -3
- Misses 10503 10513 +10
+ Partials 3589 3587 -2
Flags with carried forward coverage won't be shown. Click here to find out more. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: HuSharp, JmPotato 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 |
close tikv#8349 Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created to branch |
close tikv#8349 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#8349 Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
close #8349 controller: fix the low_ru request missed The problem is that `c.run.currentRequests` is shared by all groups. If one group triggers a token request that isn't handled by the response, the other group's requests will be discarded. Here, we do not discard the low_ru triggers. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: nolouch <[email protected]> Co-authored-by: ShuNing <[email protected]> Co-authored-by: nolouch <[email protected]>
close #8349 controller: fix the low_ru request missed The problem is that `c.run.currentRequests` is shared by all groups. If one group triggers a token request that isn't handled by the response, the other group's requests will be discarded. Here, we do not discard the low_ru triggers. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: nolouch <[email protected]> Co-authored-by: ShuNing <[email protected]> Co-authored-by: nolouch <[email protected]>
close #8349 controller: fix the low_ru request missed The problem is that `c.run.currentRequests` is shared by all groups. If one group triggers a token request that isn't handled by the response, the other group's requests will be discarded. Here, we do not discard the low_ru triggers. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: nolouch <[email protected]> Co-authored-by: ShuNing <[email protected]> Co-authored-by: nolouch <[email protected]>
What problem does this PR solve?
Issue Number: Close #8349
What is changed and how does it work?
Check List
Tests
Release note