mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for BuildIndex in indexcoord (#12978)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/12988/head
parent
f5700da683
commit
1d4d3e6ad0
|
@ -163,6 +163,7 @@ func (mt *metaTable) AddIndex(indexBuildID UniqueID, req *indexpb.BuildIndexRequ
|
|||
return mt.saveIndexMeta(meta)
|
||||
}
|
||||
|
||||
// BuildIndex set the index state to be InProgress. It means IndexNode is building the index.
|
||||
func (mt *metaTable) BuildIndex(indexBuildID UniqueID, nodeID int64) error {
|
||||
mt.lock.Lock()
|
||||
defer mt.lock.Unlock()
|
||||
|
|
Loading…
Reference in New Issue