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