Refine log level when request resource fail for loading segments (#28004) (#28077)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/28089/head
congqixia 2023-11-01 23:16:26 +08:00 committed by GitHub
parent 3c716717b6
commit f492e33343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ func (loader *segmentLoader) Load(ctx context.Context,
// Check memory & storage limit
resource, concurrencyLevel, err := loader.requestResource(ctx, infos...)
if err != nil {
log.Error("request resource failed", zap.Error(err))
log.Warn("request resource failed", zap.Error(err))
return nil, err
}
defer loader.freeRequest(resource)