milvus-sdk-go
milvus-sdk-go copied to clipboard
[Bug]: Default grpc received message size 4194304(4MB) is too small
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Query and output 1000 1536-dim vectors failed:
2024/10/16 16:30:25 Failed to query Milvus:rpc error: code = ResourceExhausted desc = grpc: received message larger than max (6153075 vs. 4194304)
User need to upgrade grpc.MaxCallRecvMsgSize. Maybe go sdk should a default MAX value. Java sdk is 2Gb, pymilvus is -1
milvusClient, err := client.NewGrpcClient(ctx, "localhost:19530", grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(67108864)))
Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
Anything else?
No response