kaijchen commented on code in PR #34883:
URL: https://github.com/apache/doris/pull/34883#discussion_r1600965245


##########
be/src/vec/sink/load_stream_stub.cpp:
##########
@@ -175,9 +175,9 @@ Status 
LoadStreamStub::open(BrpcClientCache<PBackendService_Stub>* client_cache,
         *request.add_tablets() = tablet;
     }
     POpenLoadStreamResponse response;
-    // use "pooled" connection to avoid conflicts between streaming rpc and 
regular rpc,
-    // see: https://github.com/apache/brpc/issues/392
-    const auto& stub = client_cache->get_new_client_no_cache(host_port, 
"baidu_std", "pooled");
+    // set load_id as connection_group to distinguish different streaming 
connections
+    const auto& stub = client_cache->get_new_client_no_cache(host_port, 
"baidu_std", "single",
+                                                             
print_id(_load_id));

Review Comment:
   ```suggestion
                                                                "streaming");
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to