mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for LoadMetaFromETCD (#13343)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
5f02a3738a
commit
f6c17ce4b6
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user