[skip ci]Add comment for SetDmlPosition (#9398)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
sunby 2021-10-07 17:57:47 +08:00 committed by GitHub
parent d41cdbb909
commit d5081783c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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