mirror of https://github.com/tikv/client-go.git
PDHTTPClient: when meet GetStoreMinResolvedTS error just write in debug log (#814)
Signed-off-by: husharp <ihusharp@gmail.com>
This commit is contained in:
parent
893dd82957
commit
1b28766936
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue