mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Refine datacoord segment info comment (#13602)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
parent
d9ea9519aa
commit
6b74aed32a
@ -52,8 +52,8 @@ func NewSegmentInfo(info *datapb.SegmentInfo) *SegmentInfo {
|
||||
}
|
||||
}
|
||||
|
||||
// NewSegmentsInfo create `SegmentsInfo` instance, which makes sure internal map is initialized
|
||||
// note that no mutex is wrapper so external concurrent control is needed
|
||||
// NewSegmentsInfo creates a `SegmentsInfo` instance, which makes sure internal map is initialized
|
||||
// note that no mutex is wrapped so external concurrent control is needed
|
||||
func NewSegmentsInfo() *SegmentsInfo {
|
||||
return &SegmentsInfo{segments: make(map[UniqueID]*SegmentInfo)}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user