-
Notifications
You must be signed in to change notification settings - Fork 725
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
introduce callerID for grpc and apply it for GetRegions #8593
Comments
I would like to put the There is a problem, in the client side, there are very many kinds of options, such as |
What do you think about this approach to chain calling like the HTTP client? Instead of modifying the function signature, we can return a new client with the |
@JmPotato I think that's a good way to solve this problem as well 👍 |
After sorting
Since client-go( |
ref #8593 Signed-off-by: okJiang <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ref #8593 Signed-off-by: okJiang <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Enhancement Task
GetRegion(s)
is a hot path and an accident-prone area in PD. In order to better troubleshootGetRegion(s)
in the event of an incident, we decided to record callerID information for it to make it easier to know who was frantically callingGetRegion(s)
in the meantime.The text was updated successfully, but these errors were encountered: