[skip e2e] Add comment for seekQueryNodeFlowGraph (#14002)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/14016/head
bigsheeper 2021-12-22 20:25:46 +08:00 committed by GitHub
parent ef96b40dd4
commit da5a740756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ func (q *queryNodeFlowGraph) consumerFlowGraphLatest(channel Channel, subName Co
return nil
}
// seekQueryNodeFlowGraph would seek by position
func (q *queryNodeFlowGraph) seekQueryNodeFlowGraph(position *internalpb.MsgPosition) error {
q.dmlStream.AsConsumer([]string{position.ChannelName}, position.MsgGroup)
err := q.dmlStream.Seek([]*internalpb.MsgPosition{position})