mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for GetUnusedIndexFiles in indexcoord (#13175)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13190/head
parent
9a8e1be36e
commit
d6ed860a67
|
@ -370,6 +370,7 @@ func (mt *metaTable) UpdateRecycleState(indexBuildID UniqueID) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// GetUnusedIndexFiles get the index files with lower version or corresponding the indexBuildIDs which has been deleted.
|
||||
func (mt *metaTable) GetUnusedIndexFiles(limit int) []Meta {
|
||||
mt.lock.Lock()
|
||||
defer mt.lock.Unlock()
|
||||
|
|
Loading…
Reference in New Issue