未验证 提交 ebf7455e 编写于 作者: Y yah01 提交者: GitHub

Fix lag behind error with 0 servicetime (#21637) (#21899)

Signed-off-by: Nyah01 <yang.cen@zilliz.com>
上级 3b4e5ac2
......@@ -170,7 +170,7 @@ func (b *baseReadTask) Ready() (bool, error) {
if guaranteeTs > serviceTime {
lag := gt.Sub(st)
maxLag := Params.QueryNodeCfg.MaxTimestampLag
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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册