Fix flowgraph when there are multiple upstreams (#14345)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/14238/head
Jiquan Long 2021-12-29 14:57:24 +08:00 committed by GitHub
parent 00b3fcb98b
commit ecf3b6c262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ func (nodeCtx *nodeCtx) collectInputMessages() {
t := nodeCtx.inputMessages[0].TimeTick()
latestTime := t
for i := 1; i < len(nodeCtx.inputMessages); i++ {
if t < nodeCtx.inputMessages[i].TimeTick() {
if latestTime < nodeCtx.inputMessages[i].TimeTick() {
latestTime = nodeCtx.inputMessages[i].TimeTick()
}
}