未验证 提交 9ce6c21e 编写于 作者: G groot 提交者: GitHub

#1910 C++ SDK GetIDsInSegment could not work for large dataset (#1911)

Signed-off-by: Ngroot <yihua.mo@zilliz.com>
上级 ad4645fc
......@@ -11,6 +11,7 @@ Please mark all change in change log and use the issue from GitHub
- \#1832 Fix crash in tracing module
- \#1873 Fix index file serialize to incorrect path
- \#1881 Fix bad alloc when index files lost
- \#1910 C++ SDK GetIDsInSegment could not work for large dataset
## Feature
- \#261 Integrate ANNOY into Milvus
......
......@@ -79,7 +79,10 @@ Status
ClientProxy::Connect(const ConnectParam& param) {
std::string uri = param.ip_address + ":" + param.port;
channel_ = ::grpc::CreateChannel(uri, ::grpc::InsecureChannelCredentials());
::grpc::ChannelArguments args;
args.SetMaxSendMessageSize(-1);
args.SetMaxReceiveMessageSize(-1);
channel_ = ::grpc::CreateCustomChannel(uri, ::grpc::InsecureChannelCredentials(), args);
if (channel_ != nullptr) {
connected_ = true;
client_ptr_ = std::make_shared<GrpcClient>(channel_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册