mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for AddSegmentBinlogs (#9389)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9412/head
parent
89ecf79726
commit
21655d54be
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue