You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "bingfan1005 (via GitHub)" <gi...@apache.org> on 2024/03/17 04:18:04 UTC

[I] RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费 [rocketmq]

bingfan1005 opened a new issue, #7933:
URL: https://github.com/apache/rocketmq/issues/7933

   ### 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
   
   linux 小红帽   
   
   ### RocketMQ version
   
   4.3.2版本
   
   ### JDK Version
   
   1.8版本
   
   ### Describe the Bug
   
    RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费。压测1000条,有10条这样的情况
   
   ### Steps to Reproduce
   
    RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费。压测1000条,有10条这样的情况
   
   ### What Did You Expect to See?
   
   有什么解决方案吗 是什么原因啊
   
   ### What Did You See Instead?
   
   有什么解决方案吗 是什么原因啊
   
   ### 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: commits-unsubscribe@rocketmq.apache.org.apache.org

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


Re: [I] RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费 [rocketmq]

Posted by "bingfan1005 (via GitHub)" <gi...@apache.org>.
bingfan1005 commented on issue #7933:
URL: https://github.com/apache/rocketmq/issues/7933#issuecomment-2008417022

   > 是说压测 1000 条会有 10 条消费重复吗?
   
   是这样的,执行本地事务TransactionListenerImpl成功返回LocalTransactionState.COMMIT_MESSAGE; 消费者进行消息了,消费也成功了。 但过一会这条消息又被回查了(又走了回查方法了),消费者又消费了一次。   


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

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


Re: [I] RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费 [rocketmq]

Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin closed issue #7933:  RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费
URL: https://github.com/apache/rocketmq/issues/7933


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

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


Re: [I] RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费 [rocketmq]

Posted by "humkum (via GitHub)" <gi...@apache.org>.
humkum commented on issue #7933:
URL: https://github.com/apache/rocketmq/issues/7933#issuecomment-2006966859

   是说压测 1000 条会有 10 条消费重复吗?


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

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


Re: [I] RocketMQ4.3.2 事务消息 生产环境 执行本地事务TransactionListenerImpl的方法返回LocalTransactionState.COMMIT_MESSAGE;消费者消费成功,又回查了,消费者再次消费 [rocketmq]

Posted by "humkum (via GitHub)" <gi...@apache.org>.
humkum commented on issue #7933:
URL: https://github.com/apache/rocketmq/issues/7933#issuecomment-2017086239

   > > 是说压测 1000 条会有 10 条消费重复吗?
   > 
   > 是这样的,执行本地事务TransactionListenerImpl成功返回LocalTransactionState.COMMIT_MESSAGE; 消费者进行消息了,消费也成功了。 但过一会这条消息又被回查了(又走了回查方法了),消费者又消费了一次。
   
   可以通过 transaction.log 分析下半消息的事务处理情况,看下是否有异常日志


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

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