mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for UpdateVersion in indexcoord (#12979)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
1d4d3e6ad0
commit
719dc34ed1
@ -206,6 +206,7 @@ func (mt *metaTable) BuildIndex(indexBuildID UniqueID, nodeID int64) error {
|
||||
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 {
|
||||
mt.lock.Lock()
|
||||
defer mt.lock.Unlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user