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:
yellow-shine
2026-03-16 12:03:25 +08:00
committed by GitHub
parent 8474b7b26e
commit bcb597c472
+1 -1
View File
@@ -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