未验证 提交 f5700da6 编写于 作者: C cai.zhang 提交者: GitHub

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

Signed-off-by: NCai.Zhang <cai.zhang@zilliz.com>
上级 6f139cc0
...@@ -141,6 +141,7 @@ func (mt *metaTable) reloadMeta(indexBuildID UniqueID) (*Meta, error) { ...@@ -141,6 +141,7 @@ func (mt *metaTable) reloadMeta(indexBuildID UniqueID) (*Meta, error) {
return m, nil return m, nil
} }
// AddIndex adds the index meta corresponding the indexBuildID to meta table.
func (mt *metaTable) AddIndex(indexBuildID UniqueID, req *indexpb.BuildIndexRequest) error { func (mt *metaTable) AddIndex(indexBuildID UniqueID, req *indexpb.BuildIndexRequest) error {
mt.lock.Lock() mt.lock.Lock()
defer mt.lock.Unlock() defer mt.lock.Unlock()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册