From a1a69a8feff63507a24d9ff2ab066aedeb6394cc Mon Sep 17 00:00:00 2001 From: sunby Date: Tue, 5 Oct 2021 22:34:49 +0800 Subject: [PATCH] [skip ci]Add comment for SetBinlogs (#9293) 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 f9f542ac63..b098f00c98 100644 --- a/internal/datacoord/segment_info.go +++ b/internal/datacoord/segment_info.go @@ -127,6 +127,7 @@ func (s *SegmentsInfo) SetCurrentRows(segmentID UniqueID, rows int64) { } } +// SetBinlogs sets binlog paths for segment func (s *SegmentsInfo) SetBinlogs(segmentID UniqueID, binlogs []*datapb.FieldBinlog) { if segment, ok := s.segments[segmentID]; ok { s.segments[segmentID] = segment.Clone(SetBinlogs(binlogs))