mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for ShadowClone (#9391)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9412/head
parent
ad6b06ed85
commit
41633aee0a
|
@ -168,6 +168,7 @@ func (s *SegmentInfo) Clone(opts ...SegmentInfoOption) *SegmentInfo {
|
|||
return cloned
|
||||
}
|
||||
|
||||
// ShadowClone shadow clone the segment and return a new instance
|
||||
func (s *SegmentInfo) ShadowClone(opts ...SegmentInfoOption) *SegmentInfo {
|
||||
cloned := &SegmentInfo{
|
||||
SegmentInfo: s.SegmentInfo,
|
||||
|
|
Loading…
Reference in New Issue