gaoyf opened a new pull request, #9137:
URL: https://github.com/apache/rocketmq/pull/9137

   … response
   
   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and 
[link this pull request to that issue using 
keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>)
 to ensure automatic closure. -->
   
   Fixes #8997
   
   ### Brief Description
   
   <!-- Write a brief description for your pull request to help the maintainer 
understand the reasons behind your changes. -->
   当broker处于半死不活的状态时(gc,os内存不足等等原因),此时表现无法及时响应客户端的请求。
   针对客户端同步发送消息,默认是带有重试策略的。可是此种情况下,客户端可能并没有重试的机会。
   详见[分析](https://blog.csdn.net/a417930422/article/details/103489927)。
   
   ### How Did You Test This Change?
   
   <!-- In order to ensure the code quality of Apache RocketMQ, we expect every 
pull request to have undergone thorough testing. -->
   新增的参数sendMsgMaxTimeoutPerRequest,默认情况下不会影响现有的重试逻辑。
   
模拟broker暂停的情况,并针对各种情况进行了[测试](https://blog.csdn.net/a417930422/article/details/103489927#test),情况如下:
   
![image](https://github.com/user-attachments/assets/a15ebd3f-25ff-4cfa-84ee-58cb4adb270f)
   
   
   


-- 
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: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to