mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for UpdateVersion in indexcoord (#12979)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/12988/head
parent
1d4d3e6ad0
commit
719dc34ed1
|
@ -206,6 +206,7 @@ func (mt *metaTable) BuildIndex(indexBuildID UniqueID, nodeID int64) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UpdateVersion updates the version of the index meta, whenever the task is built once, the version will be updated once.
|
||||||
func (mt *metaTable) UpdateVersion(indexBuildID UniqueID) error {
|
func (mt *metaTable) UpdateVersion(indexBuildID UniqueID) error {
|
||||||
mt.lock.Lock()
|
mt.lock.Lock()
|
||||||
defer mt.lock.Unlock()
|
defer mt.lock.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue