client-go icon indicating copy to clipboard operation
client-go copied to clipboard

locate: retry on ErrClientGetResourceGroup for transient errors

Open disksing opened this issue 2 months ago • 1 comments

  • update pd-client, fix mockpd, update go.mod
  • for GetResourceGroup errors, if it is ResourceGroupDoesNotExist, don't retry. other errors (not leader etc.) , retry.
  • add tests

disksing avatar Nov 03 '25 06:11 disksing

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign tabokie for approval. For more information see the Code Review Process. Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

ti-chi-bot[bot] avatar Nov 03 '25 06:11 ti-chi-bot[bot]