mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
[skip e2e]Add log for GetUnusedIndexFiles in indexcoord (#14223)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
8c0f96f8c1
commit
0b77c4455e
@ -383,6 +383,7 @@ func (mt *metaTable) GetUnusedIndexFiles(limit int) []Meta {
|
|||||||
mt.lock.Lock()
|
mt.lock.Lock()
|
||||||
defer mt.lock.Unlock()
|
defer mt.lock.Unlock()
|
||||||
|
|
||||||
|
log.Debug("IndexCoord get the meta which need to recycle")
|
||||||
var metas []Meta
|
var metas []Meta
|
||||||
for _, meta := range mt.indexBuildID2Meta {
|
for _, meta := range mt.indexBuildID2Meta {
|
||||||
if meta.indexMeta.State == commonpb.IndexState_Finished && (meta.indexMeta.MarkDeleted || !meta.indexMeta.Recycled) {
|
if meta.indexMeta.State == commonpb.IndexState_Finished && (meta.indexMeta.MarkDeleted || !meta.indexMeta.Recycled) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user