[skip e2e]Add log for GetUnusedIndexFiles in indexcoord (#14223)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/14229/head
cai.zhang 2021-12-25 11:42:21 +08:00 committed by GitHub
parent 8c0f96f8c1
commit 0b77c4455e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ func (mt *metaTable) GetUnusedIndexFiles(limit int) []Meta {
mt.lock.Lock()
defer mt.lock.Unlock()
log.Debug("IndexCoord get the meta which need to recycle")
var metas []Meta
for _, meta := range mt.indexBuildID2Meta {
if meta.indexMeta.State == commonpb.IndexState_Finished && (meta.indexMeta.MarkDeleted || !meta.indexMeta.Recycled) {