mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
enhance: Log level for varchar length validation error should be warning instead of info (#48233)
This pull request makes a small change to the logging behavior in the Upsert method of the Proxy struct. Specifically, it changes the log level from Info to Warn when an insert task fails to execute in the task scheduler, making it easier to identify and prioritize potential issues in the logs. Changed log level from Info to Warn for failed insert task execution in Proxy.Upsert (internal/proxy/impl.go). fix: https://github.com/milvus-io/milvus/issues/48130 Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
This commit is contained in:
@@ -2885,7 +2885,7 @@ func (node *Proxy) Upsert(ctx context.Context, request *milvuspb.UpsertRequest)
|
||||
zap.Uint64("EndTS", it.EndTs()))
|
||||
|
||||
if err := it.WaitToFinish(); err != nil {
|
||||
log.Info("Failed to execute insert task in task scheduler",
|
||||
log.Warn("Failed to execute insert task in task scheduler",
|
||||
zap.Error(err))
|
||||
// Not every error case changes the status internally
|
||||
// change status there to handle it
|
||||
|
||||
Reference in New Issue
Block a user