From d5081783c38263b3b3dee6a1f20854fba51ee1da Mon Sep 17 00:00:00 2001 From: sunby Date: Thu, 7 Oct 2021 17:57:47 +0800 Subject: [PATCH] [skip ci]Add comment for SetDmlPosition (#9398) Signed-off-by: sunby --- internal/datacoord/segment_info.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/datacoord/segment_info.go b/internal/datacoord/segment_info.go index e290198dac..2c83e2e272 100644 --- a/internal/datacoord/segment_info.go +++ b/internal/datacoord/segment_info.go @@ -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