mirror of https://github.com/milvus-io/milvus.git
Fix lag behind error with 0 servicetime (#21637)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>pull/21674/head
parent
d0b974de07
commit
8f202274a7
|
@ -170,7 +170,7 @@ func (b *baseReadTask) Ready() (bool, error) {
|
|||
if guaranteeTs > serviceTime {
|
||||
lag := gt.Sub(st)
|
||||
maxLag := Params.QueryNodeCfg.MaxTimestampLag.GetAsDuration(time.Second)
|
||||
if lag > maxLag {
|
||||
if serviceTime != 0 && lag > maxLag {
|
||||
log.Warn("guarantee and servicable ts larger than MaxLag",
|
||||
zap.Time("guaranteeTime", gt),
|
||||
zap.Time("serviceableTime", st),
|
||||
|
|
Loading…
Reference in New Issue