mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Fix lag behind error with 0 servicetime (#21637)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user