-
Notifications
You must be signed in to change notification settings - Fork 719
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
middleware: fix waitForLeader in redirector panic #8407
Conversation
Signed-off-by: husharp <[email protected]>
/check-issue-triage-complete |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8407 +/- ##
==========================================
- Coverage 77.24% 77.19% -0.06%
==========================================
Files 471 471
Lines 61700 61700
==========================================
- Hits 47662 47630 -32
- Misses 10463 10487 +24
- Partials 3575 3583 +8
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: JmPotato, rleungx 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 |
What problem does this PR solve?
Issue Number: Close #8406
What is changed and how does it work?
serverLoopContext is initialized here.
pd/server/server.go
Lines 660 to 661 in c50993b
Probably called after
waitForLeader
.Check List
Tests
Release note