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

[skip ci]Add comment for LoadMetaFromETCD (#13343)

Signed-off-by: NCai.Zhang <cai.zhang@zilliz.com>
上级 5f02a373
......@@ -483,6 +483,8 @@ func (mt *metaTable) HasSameReq(req *indexpb.BuildIndexRequest) (bool, UniqueID)
return false, -1
}
// LoadMetaFromETCD load the meta of specified indexBuildID from ETCD.
// If the version of meta in memory is greater equal to the version in ETCD, no need to reload.
func (mt *metaTable) LoadMetaFromETCD(indexBuildID int64, revision int64) bool {
mt.lock.Lock()
defer mt.lock.Unlock()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册