[skip ci]Add comment for AddIndex in indexcoord (#12977)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/12988/head
cai.zhang 2021-12-08 16:45:23 +08:00 committed by GitHub
parent 6f139cc0d4
commit f5700da683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ func (mt *metaTable) reloadMeta(indexBuildID UniqueID) (*Meta, error) {
return m, nil
}
// AddIndex adds the index meta corresponding the indexBuildID to meta table.
func (mt *metaTable) AddIndex(indexBuildID UniqueID, req *indexpb.BuildIndexRequest) error {
mt.lock.Lock()
defer mt.lock.Unlock()