mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for UpdateRecycleState in indexcoord (#13173)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13190/head
parent
0b66a69f2a
commit
9a8e1be36e
|
@ -331,6 +331,8 @@ func (mt *metaTable) DeleteIndex(indexBuildID UniqueID) {
|
|||
log.Debug("IndexCoord metaTable DeleteIndex", zap.Error(err))
|
||||
}
|
||||
|
||||
// UpdateRecycleState update the recycle state corresponding the indexBuildID,
|
||||
// when the recycle state is true, means the index files has been recycled with lower version.
|
||||
func (mt *metaTable) UpdateRecycleState(indexBuildID UniqueID) error {
|
||||
mt.lock.Lock()
|
||||
defer mt.lock.Unlock()
|
||||
|
|
Loading…
Reference in New Issue