mirror of https://github.com/tikv/client-go.git
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:
parent
27d0c27915
commit
28247160f4
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue