Skip to content

Commit

Permalink
fix the client retry error
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Dec 25, 2023
1 parent b36b725 commit 4166711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/http/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (ci *clientInner) requestWithRetry(
addr = ci.pdAddrs[idx]
err = ci.doRequest(ctx, addr, reqInfo, headerOpts...)
if err == nil {
break
return nil
}
log.Debug("[pd] request follower addr failed",
zap.String("source", ci.source), zap.Int("idx", idx), zap.String("addr", addr), zap.Error(err))
Expand Down

0 comments on commit 4166711

Please sign in to comment.