mirror of https://github.com/milvus-io/milvus.git
parent
51bfbf1ddf
commit
7ad33c34b8
|
@ -133,7 +133,7 @@ func (m *meta) addPartition(collectionID UniqueID, partitionID UniqueID) error {
|
||||||
|
|
||||||
func (m *meta) deleteSegmentInfoByID(segmentID UniqueID) {
|
func (m *meta) deleteSegmentInfoByID(segmentID UniqueID) {
|
||||||
m.Lock()
|
m.Lock()
|
||||||
m.Unlock()
|
defer m.Unlock()
|
||||||
delete(m.segmentInfos, segmentID)
|
delete(m.segmentInfos, segmentID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue