kaijchen opened a new pull request, #34883:
URL: https://github.com/apache/doris/pull/34883

   ## Proposed changes
   
   Previously, we use "pooled" connection to distinguish streaming connections
   with non-streaming connections.
   
   According to brpc docs [connection-type][1]:
   
   > Max number of pooled connections from one client to one server is limited
   > by -max_connection_pool_size.
   >
   > Note the number is not same as “max number of connections”.
   > New connections are always created when there’s no idle ones in the pool;
   > the returned connections are closed immediately when the pool already
   > has max_connection_pool_size connections.
   
   If there is too many connections, the connection will be closed immediately
   once the initial `open_load_stream` rpc has finished. Causing the stream
   to be closed as well.
   
   This PR changes brpc connection type to "single" for LoadStreams.
   And use "connection-group" to distinguish streaming connections.
   
   [1]: https://brpc.apache.org/docs/client/basics/#connection-type
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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