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 2022/10/11 07:13:38 UTC

[GitHub] [rocketmq] ni-ze commented on issue #4154: maybe there is a Thread Safe problem when send a message in the 'MQFaultStrategy#selectOneMessageQueue' code

ni-ze commented on issue #4154:
URL: https://github.com/apache/rocketmq/issues/4154#issuecomment-1274193768

   seems like does not matter.
   
   sunhangda ***@***.***>于2022年4月13日 周三11:20写道:
   
   > I do not think so.
   >
   > tpInfo.getSendWhichQueue().incrementAndGet()
   >
   > the index is a thread local variable, would change with thread.if thread
   > switched, index will change.
   >
   > There's a mod
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/rocketmq/issues/4154#issuecomment-1097511342>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AHN3EQXJXKOH2TQGCSXHBQLVEY4RLANCNFSM5TG6KRVA>
   > .
   > You are receiving this because you commented.Message ID:
   > ***@***.***>
   >
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

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