[skip ci] Add comment for freeAll (#10575)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-10-25 19:40:05 +08:00 committed by GitHub
parent 9ee77bbf01
commit 2df20eaa5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,6 +567,7 @@ func (colReplica *collectionReplica) getExcludedSegments(collectionID UniqueID)
return colReplica.excludedSegments[collectionID], nil
}
// freeAll will free all meta info from collectionReplica
func (colReplica *collectionReplica) freeAll() {
colReplica.mu.Lock()
defer colReplica.mu.Unlock()