yx9o opened a new issue, #8490: URL: https://github.com/apache/rocketmq/issues/8490
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment Mac ### RocketMQ version develop ### JDK Version jdk8 ### Describe the Bug getMaxReconsumeTimes is calculated incorrectly in concurrent consumption mode and cannot be directly compared with -1. It should be compared with the actual value represented by -1 in concurrent consumption mode.  ### Steps to Reproduce Running this IT test will fail. org.apache.rocketmq.test.retry.PopConsumerRetryIT#testNormalMessageUseMessageVersionV2. <img width="1439" alt="image" src="https://github.com/user-attachments/assets/a37128a4-db38-4e4c-b7ab-6024d6efd336"> <img width="1527" alt="image" src="https://github.com/user-attachments/assets/99e80efc-bc20-48c2-90be-3e0817424955"> ### What Did You Expect to See? Running this IT test will succeed. org.apache.rocketmq.test.retry.PopConsumerRetryIT#testNormalMessageUseMessageVersionV2. ### What Did You See Instead? Running this IT test will fail. org.apache.rocketmq.test.retry.PopConsumerRetryIT#testNormalMessageUseMessageVersionV2. ### Additional Context _No response_ -- 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]
