mirror of https://github.com/milvus-io/milvus.git
parent
6c0b38eb5a
commit
ad6b06ed85
|
@ -153,6 +153,7 @@ func (s *SegmentsInfo) AddSegmentBinlogs(segmentID UniqueID, field2Binlogs map[U
|
|||
}
|
||||
}
|
||||
|
||||
// Clone deep clone the segment info and return a new instance
|
||||
func (s *SegmentInfo) Clone(opts ...SegmentInfoOption) *SegmentInfo {
|
||||
info := proto.Clone(s.SegmentInfo).(*datapb.SegmentInfo)
|
||||
cloned := &SegmentInfo{
|
||||
|
|
Loading…
Reference in New Issue