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

Signed-off-by: husharp <jinhao.hu@pingcap.com>
Co-authored-by: disksing <i@disksing.com>
This commit is contained in:
Hu# 2023-06-05 16:51:12 +08:00 committed by GitHub
parent 27d0c27915
commit 28247160f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func (p *PDHTTPClient) GetStoreMinResolvedTS(ctx context.Context, storeID uint64
}
if !d.IsRealTime {
message := fmt.Errorf("store min resolved ts not enabled, addr: %s", addr)
logutil.BgLogger().Error(message.Error())
logutil.BgLogger().Debug(message.Error())
return 0, errors.Trace(message)
}
if val, e := EvalFailpoint("InjectMinResolvedTS"); e == nil {