mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SetStartPosition (#9399)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9412/head
parent
d5081783c3
commit
ad15e786cc
|
@ -214,6 +214,7 @@ func SetDmlPosition(pos *internalpb.MsgPosition) SegmentInfoOption {
|
|||
}
|
||||
}
|
||||
|
||||
// SetStartPosition is the option to set start position for segment info
|
||||
func SetStartPosition(pos *internalpb.MsgPosition) SegmentInfoOption {
|
||||
return func(segment *SegmentInfo) {
|
||||
segment.StartPosition = pos
|
||||
|
|
Loading…
Reference in New Issue