[skip ci]Add comment for GetIndexStates in indexcoord (#13058)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/13052/head
cai.zhang 2021-12-09 15:47:51 +08:00 committed by GitHub
parent fdb084348d
commit 6f71bf42d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ func (mt *metaTable) MarkIndexAsDeleted(indexID UniqueID) error {
return nil
}
// GetIndexStates gets the index states from meta table.
func (mt *metaTable) GetIndexStates(indexBuildIDs []UniqueID) []*indexpb.IndexInfo {
mt.lock.Lock()
defer mt.lock.Unlock()