milvus proxy组件出现代理失败,日志信息如下,原因是什么? #42411
Unanswered
midonKing
asked this question in
Q&A and General discussion
Replies: 2 comments
-
在milvus v2.3.5之后的版本中,传输协议里增加了对rpc调用权限的控制,比如这种:https://github.com/milvus-io/milvus-proto/blob/9ed8fb405005c2a2cdb10d30276d8bec9334b023/proto/milvus.proto#L140C23-L140C43 感觉像是客户端使用的sdk比较低,跟服务端的proto message定义不符。也许sdk版本低于2.3.5甚至2.2 |
Beta Was this translation helpful? Give feedback.
0 replies
-
could you make sure key is a string rather an int64? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我们的生产集群近期出现了一些proxy组件代理失败的告警,milvus集群版本是2.3.16,我检查了下proxy的日志,发现告警信息如下:
[2025/05/30 04:04:15.621 +00:00] [ERROR] [proxy/impl.go:2369] ["Failed to enqueue delete task: failed to create expr plan, expr = key == '7226724665828788253'"] [traceID=6b1eb797290508c8341808ef93971c96] [role=proxy] [db=default] [collection=knowledge_v2] [partition=] [expr="key == '7226724665828788253'"] [stack="github.com/milvus-io/milvus/internal/proxy.(*Proxy).Delete\n\t/workspace/source/internal/proxy/impl.go:2369\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).Delete\n\t/workspace/source/internal/distributed/proxy/service.go:896\ngithub.com/milvus-io/milvus-proto/go-api/v2/milvuspb._MilvusService_Delete_Handler.func1\n\t/go/pkg/mod/github.com/milvus-io/milvus-proto/go-api/v2@v2.3.16/milvuspb/milvus.pb.go:12303\ngithub.com/milvus-io/milvus/internal/proxy/connection.KeepActiveInterceptor\n\t/workspace/source/internal/proxy/connection/util.go:60\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/proxy.TraceLogInterceptor\n\t/workspace/source/internal/proxy/trace_log_interceptor.go:36\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/proxy/accesslog.UnaryUpdateAccessInfoInterceptor\n\t/workspace/source/internal/proxy/accesslog/util.go:47\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.RateLimitInterceptor.func5\n\t/workspace/source/internal/proxy/rate_limit_interceptor.go:55\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/pkg/util/logutil.UnaryTraceLoggerInterceptor\n\t/workspace/source/pkg/util/logutil/grpc_interceptor.go:23\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.UnaryServerInterceptor.func4\n\t/workspace/source/internal/proxy/privilege_interceptor.go:82\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/proxy.HookInterceptor\n\t/workspace/source/internal/proxy/hook_interceptor.go:122\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.UnaryServerHookInterceptor.func3\n\t/workspace/source/internal/proxy/hook_interceptor.go:89\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.DatabaseInterceptor.func2\n\t/workspace/source/internal/proxy/database_interceptor.go:15\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.UnaryServerInterceptor.func1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/auth/auth.go:47\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.UnaryServerInterceptor.func1\n\t/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.38.0/interceptor.go:342\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/proxy/accesslog.UnaryAccessLogInterceptor\n\t/workspace/source/internal/proxy/accesslog/util.go:38\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6.1.1\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25\ngithub.com/milvus-io/milvus/internal/distributed/proxy.(*Server).startExternalGrpc.ChainUnaryServer.func6\n\t/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:34\ngithub.com/milvus-io/milvus-proto/go-api/v2/milvuspb._MilvusService_Delete_Handler\n\t/go/pkg/mod/github.com/milvus-io/milvus-proto/go-api/v2@v2.3.16/milvuspb/milvus.pb.go:12305\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\t/go/pkg/mod/google.golang.org/grpc@v1.57.1/server.go:1358\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/grpc@v1.57.1/server.go:1735\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/go/pkg/mod/google.golang.org/grpc@v1.57.1/server.go:970"]
[2025/05/30 04:59:49.478 +00:00] [INFO] [funcutil/policy.go:43] ["GetExtension fail"] [error="proto: not an extendable proto.Message"]
[2025/05/30 04:59:49.478 +00:00] [INFO] [proxy/privilege_interceptor.go:94] ["GetPrivilegeExtObj err"] [error="proto: not an extendable proto.Message"]
且三个proxy组件中,只有这一个组件有这个错误,询问了下业务方没有任何改动,能否帮忙分析一下这个报错的原因?
Beta Was this translation helpful? Give feedback.
All reactions