未验证 提交 21655d54 编写于 作者: S sunby 提交者: GitHub

[skip ci]Add comment for AddSegmentBinlogs (#9389)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 89ecf797
......@@ -147,6 +147,7 @@ func (s *SegmentsInfo) SetFlushTime(segmentID UniqueID, t time.Time) {
}
}
// AddSegmentBinlogs adds binlogs for segment
func (s *SegmentsInfo) AddSegmentBinlogs(segmentID UniqueID, field2Binlogs map[UniqueID][]string) {
if segment, ok := s.segments[segmentID]; ok {
s.segments[segmentID] = segment.Clone(addSegmentBinlogs(field2Binlogs))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册