You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/01/02 15:50:18 UTC

[GitHub] [rocketmq] dingwpmz opened a new issue #2542: broker busy TIMEOUT_CLEAN_QUEUE 客户端并不重试

dingwpmz opened a new issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542


   TIMEOUT_CLEAN_QUEUE 是broker端快速失败机制中由于消息发送请求挤压超过200ms(可通过waitTimeMillsInSendQueue参数调整),直接返回失败,避免过长等待,但客户都收到该请求,个人理解,按照快速失败机制的理念,客户端应该要重试其他broker,具体分析请见如下链接:
   
   https://mp.weixin.qq.com/s/_yd-OhWDJ_9N_F_jd3B3VQ


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee commented on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-753723548


   @dingwpmz what's RocketMQ version your are using ?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] biuabiu commented on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
biuabiu commented on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-789464125


   the SYSTEM_ERROR has retry,so this issue when can fix ?@francisoliverlee 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] wz2cool removed a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
wz2cool removed a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-792197874


   @francisoliverlee @RongtongJin 
   I think the property producer.setRetryTimesWhenSendFailed make people confused. People don't know it won't retry if broker busy & system busy


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee edited a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-753723548


   @dingwpmz what's RocketMQ version your are using ?
   from the post, we can know 
   TIMEOUT_CLEAN_QUEUE ----> MQBrokerException(SystemBusy) ----> Client Process Code as bellow:
   
   https://github.com/apache/rocketmq/blob/39bb9386f10d5d8dfe81183c172a3a86f6d313bd/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L617-L637
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] wz2cool edited a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
wz2cool edited a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-792187178


   We meet the same problem. according to rocketmq design #1196  it won't retry if system busy.  
   You have to retry  in your code when exception happen


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] wz2cool commented on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
wz2cool commented on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-792197874


   @francisoliverlee @RongtongJin 
   I think the property producer.setRetryTimesWhenSendFailed make people confused. People don't know it won't retry if broker busy & system busy


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] wz2cool commented on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
wz2cool commented on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-792187178


   We meet the same problem. according to rocketmq design #1196  it won't retry if broker busy.  
   You have to retry  in your code when exception happen


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee edited a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-753723548


   @dingwpmz it seems not from the post.
   as the post said, 
   
   Broker fast fail with TIMEOUT_CLEAN_QUEUE ---->broker make MQBrokerException with System_Busy ----> Client Process Code as bellow:
   https://github.com/apache/rocketmq/blob/39bb9386f10d5d8dfe81183c172a3a86f6d313bd/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L617-L637
   
   add System_Busy in case cause could be fine to U


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee edited a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-753723548


   @dingwpmz it seems not from the post.
   as the post said, 
   
   Broker fast fail with TIMEOUT_CLEAN_QUEUE ---->broker make MQBrokerException with SystemBusy ----> Client Process Code as bellow:
   https://github.com/apache/rocketmq/blob/39bb9386f10d5d8dfe81183c172a3a86f6d313bd/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L617-L637
   
   add SystemBusy in case cause could be fine to U


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee edited a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-753723548


   @dingwpmz it seems not from the post.
   as the post said, 
   
   Broker fast fail with TIMEOUT_CLEAN_QUEUE ---->broker make MQBrokerException with SystemBusy ----> Client Process Code as bellow:
   https://github.com/apache/rocketmq/blob/39bb9386f10d5d8dfe81183c172a3a86f6d313bd/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L617-L637
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee edited a comment on issue #2542: The client does not retry when broker busy

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #2542:
URL: https://github.com/apache/rocketmq/issues/2542#issuecomment-753723548


   @dingwpmz what's RocketMQ version your are using ?
   from the post, we can know 
   TIMEOUT_CLEAN_QUEUE ----> MQBrokerException(SystemBusy) ----> Client Process Code as bellow:
   https://github.com/apache/rocketmq/blob/39bb9386f10d5d8dfe81183c172a3a86f6d313bd/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L623 


----------------------------------------------------------------
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:
users@infra.apache.org