Add flowgraph dmstream input node error check (#9497)

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
pull/9511/head
godchen 2021-10-08 19:25:00 +08:00 committed by GitHub
parent e6346d7b60
commit ac35aa7e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -45,7 +45,10 @@ func newDmInputNode(ctx context.Context, factory msgstream.Factory, collID Uniqu
if seekPos != nil {
seekPos.ChannelName = pchannelName
log.Debug("datanode Seek: " + seekPos.GetChannelName())
insertStream.Seek([]*internalpb.MsgPosition{seekPos})
err = insertStream.Seek([]*internalpb.MsgPosition{seekPos})
if err != nil {
return nil, err
}
}
var stream msgstream.MsgStream = insertStream