walterzhaoJR opened a new issue #1309:
URL: https://github.com/apache/incubator-brpc/issues/1309


   使用brpc::Channel 时,重复init导致无法连接到server。
   我的使用场景是,每当server 的发生主备切换后,我需要重新和server 的新leader 建立连接,这个时候会重复init 
同一个brpc::Channel,最近偶现连接server失败,错误信息是error:112。目前通过在每次重连的时候使用新的brpc::Channel来连接server可以杜绝这个问题。
   这里想请问下:重复init 同一个brpc::Channel 是否是不合理的使用方式。


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

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