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 2018/12/27 13:08:14 UTC

[GitHub] ncl911 opened a new issue #642: 发送事务消息,发出多条一样的消息!

ncl911 opened a new issue #642: 发送事务消息,发出多条一样的消息!
URL: https://github.com/apache/rocketmq/issues/642
 
 
   版本4.3.0
   重现场景:
   在transactionlistener的executeLocalTransaction返回unknown,然后在checkLocalTransaction流程打上断点,卡住回查,待它多次回查时,再放开断点,发现发出了多条一样的消息,消息id也一样。
   prepare消息topic同一条消息数量
   ![image](https://user-images.githubusercontent.com/23656622/50480600-d83e5500-0a17-11e9-9712-d1dc49226a72.png)
   真实topic中同一消息数量
   ![image](https://user-images.githubusercontent.com/23656622/50480625-06239980-0a18-11e9-954d-a6efc0fbe2fd.png)
   
   导致一条消息发送了多次,消费者也消费了多次
   想知道为什么每次回查都要往prepare topic中放一条unknown消息,之前的消息已经存在,不应该是去更新消息状态之类的吗??

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services