lizhimins commented on code in PR #10179:
URL: https://github.com/apache/rocketmq/pull/10179#discussion_r3013159467


##########
broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java:
##########
@@ -298,9 +300,30 @@ public void check(long transactionTimeout, int 
transactionCheckMax,
 
                         if (isNeedCheck) {
 
-                            if (!putBackHalfMsgQueue(msgExt, i)) {
+                            int retryTimes = 0;
+                            boolean putBackSuccess = false;
+                            while (retryTimes < PUT_BACK_RETRY_TIMES) {

Review Comment:
   It seems to be no need to introduce retries here.



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

Reply via email to