Skip to content

Commit

Permalink
infoschema: try other PDs if one cannot serve the request (#52843)
Browse files Browse the repository at this point in the history
close #52842
  • Loading branch information
rleungx committed May 6, 2024
1 parent 516977e commit 659f32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/infoschema/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ func getMicroServiceServerInfo(ctx sessionctx.Context, serviceName string) ([]Se
resp, err := util.InternalHTTPClient().Do(req)
if resp == nil || resp.StatusCode != http.StatusOK {
terror.Log(resp.Body.Close())
return servers, nil
continue
}
if err != nil {
ctx.GetSessionVars().StmtCtx.AppendWarning(err)
Expand Down

0 comments on commit 659f32a

Please sign in to comment.