huocun-ant opened a new issue, #2395:
URL: https://github.com/apache/brpc/issues/2395

   **Describe the bug (描述bug)**
   A 
B两方,都是singleServer模式,配置了重试,A先起来,向B发送消息,此时B还没起来,A进入重试,在A重试期间,启动B,此时socket应该可以连接了,但是A还是在一直重试,直到最大重试次数,Send失败。
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   在B起来后A在重试期间应该能够感知B起来了,退出重试。
   
   
   **Versions (各种版本)**
   OS: Linux
   Compiler: GCC
   brpc: brpc-1.6.0
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   
![image](https://github.com/apache/brpc/assets/131865681/f620fc16-1226-488b-8a97-d8144a7c15a4)
   上图是达到了最大重试次数,Send失败,
   <img width="596" alt="image" 
src="https://github.com/apache/brpc/assets/131865681/ebba7a7b-64fd-4501-b76d-07666b908658";>
   在这个流程中才发现socket可用了,这个时候send已经失败了。
   


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