enhance: Remove frequent observe log (#39413)

/kind improvement

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/36416/head
yihao.dai 2025-01-20 11:01:10 +08:00 committed by GitHub
parent 1a680c29e2
commit e55d6506e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -304,7 +304,9 @@ func (ob *CollectionObserver) observeLoadStatus(ctx context.Context) {
return true
})
log.Info("observe all collections done", zap.Int("num", observeTaskNum), zap.Duration("dur", time.Since(observeStart)))
if observeTaskNum > 0 {
log.Info("observe all collections done", zap.Int("num", observeTaskNum), zap.Duration("dur", time.Since(observeStart)))
}
// trigger check logic when loading collections/partitions
if loading {