mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-12 13:05:32 +08:00
[skip ci]Add comment for SetDmlPosition (#9398)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
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 {
|
func SetDmlPosition(pos *internalpb.MsgPosition) SegmentInfoOption {
|
||||||
return func(segment *SegmentInfo) {
|
return func(segment *SegmentInfo) {
|
||||||
segment.DmlPosition = pos
|
segment.DmlPosition = pos
|
||||||
|
Loading…
Reference in New Issue
Block a user