[skip ci]Add comment for GetIndexMetaByIndexBuildID (#13345)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/13353/head
cai.zhang 2021-12-14 16:39:46 +08:00 committed by GitHub
parent 259a728a4e
commit 4d578f6c13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ func (mt *metaTable) GetNodeTaskStats() map[UniqueID]int {
return nodePriority
}
// GetIndexMetaByIndexBuildID get the index meta of the specified indexBuildID.
func (mt *metaTable) GetIndexMetaByIndexBuildID(indexBuildID UniqueID) *indexpb.IndexMeta {
mt.lock.RLock()
defer mt.lock.RUnlock()