Skip to content

Commit

Permalink
PDHTTPClient: when meet GetStoreMinResolvedTS error just write in deb…
Browse files Browse the repository at this point in the history
…ug log (#815)

Signed-off-by: husharp <[email protected]>
  • Loading branch information
HuSharp authored May 24, 2023
1 parent 04dcf9d commit 80181bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (p *PDHTTPClient) GetStoreMinResolvedTS(ctx context.Context, storeID uint64
query := fmt.Sprintf("%s/%d", storeMinResolvedTSPrefix, storeID)
v, e := pdRequest(ctx, addr, query, p.cli, http.MethodGet, nil)
if e != nil {
logutil.BgLogger().Warn("failed to get min resolved ts", zap.String("addr", addr), zap.Error(e))
logutil.BgLogger().Debug("failed to get min resolved ts", zap.String("addr", addr), zap.Error(e))
err = e
continue
}
Expand Down

0 comments on commit 80181bc

Please sign in to comment.