mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for GetIndexStates in indexcoord (#13058)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13052/head
parent
fdb084348d
commit
6f71bf42d4
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue