PDHTTPClient: when meet GetStoreMinResolvedTS error just write in debug log (#814)

Signed-off-by: husharp <ihusharp@gmail.com>
This commit is contained in:
Hu# 2023-05-24 11:26:53 +08:00 committed by GitHub
parent 893dd82957
commit 1b28766936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}