[skip ci]Add comment for GetUnusedIndexFiles in indexcoord (#13175)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/13190/head
cai.zhang 2021-12-10 17:09:08 +08:00 committed by GitHub
parent 9a8e1be36e
commit d6ed860a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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()