fix: remove useless log of quota center (#32307)

/kind improvement
issue: #31272

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
pull/32373/head
Jiquan Long 2024-04-17 16:17:19 +08:00 committed by GitHub
parent a8c8a6bb0f
commit 7add7248e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -471,10 +471,6 @@ func (q *QuotaCenter) collectMetrics() error {
fields := lo.KeyBy(coll.Fields, func(v *model.Field) int64 { return v.FieldID })
for _, indexInfo := range datacoordCollectionMetric.IndexInfo {
if _, ok := fields[indexInfo.FieldID]; !ok {
log.Warn("field id not found, ignore to report indexed num entities",
zap.Int64("collection", collectionID),
zap.Int64("field", indexInfo.FieldID),
)
continue
}
field := fields[indexInfo.FieldID]