LilMosey opened a new pull request, #9062: URL: https://github.com/apache/rocketmq/pull/9062
Transaction message, check back to determine if the OP-HALF-QUEUE message is in HALF-QUEUE, optimize the judgment method ### Which Issue(s) This PR Fixes ### Brief Description 事务消息, 回查判断RMQ_SYS_TRANS_HALF_TOPIC消息是否在RMQ_SYS_TRANS_OP_HALF_TOPIC 中,优化判断方式。之前代码是先判断Map.containsKey,然后进行removeKey,新的方式是直接removeKey != null。 Transaction message, check back to determine if the RMQ_SYS_TRANS-HALF_TOPIC message is in RMQ_SYS_TRANS-OP_ALF_TOPIC, and optimize the judgment method. The previous code was to first determine Map.containersKey and then perform removeKey. The new approach is to directly remove the key= null。 ### How Did You Test This Change? -- 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