You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "mz0113 (via GitHub)" <gi...@apache.org> on 2023/12/28 04:31:36 UTC

[I] [Bug] controller模式下,两副本且minSync=2时候事务消息提交丢失问题 [rocketmq]

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

   ### 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
   
   windows 11
   
   ### RocketMQ version
   
   rocketmq v5.1.4
   
   ### JDK Version
   
   JDK8
   
   ### Describe the Bug
   
   controller模式下 , broker为两副本且minSync=2
   当发送一笔事务半消息成功后,半消息进入半事务队列,然后本地事务提交这笔消息以后.
   半消息将从半事务队列转移到业务消息Topic中,在转发的过程中依然会判断minSync是否满足设置的条件,如果此时从节点broker掉线,那么minSync不满足2这个条件,导致半消息转移失败,重试多次后最终被丢弃.
   
   ### Steps to Reproduce
   
   如上
   
   ### What Did You Expect to See?
   
   消息不应该丢弃,或者尽量至少给一个可配置的参数选项能决定是否让半事务消息继续转移,我认为此时不满足minSync=2的时候,半事务消息转移的动作可以暂停不做,而不是转移失败导致消息被丢弃
   
   ### What Did You See Instead?
   
   事务消息没有被转移到业务普通Topic中
   
   ### 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] [Bug] there is a problem of transaction message submission loss when there are two replicas and minSync=2 in controller mode [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7709:
URL: https://github.com/apache/rocketmq/issues/7709#issuecomment-2566024444

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
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] [Bug] there is a problem of transaction message submission loss when there are two replicas and minSync=2 in controller mode [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7709: [Bug]  there is a problem of transaction message submission loss when there are two replicas and minSync=2 in controller mode
URL: https://github.com/apache/rocketmq/issues/7709


-- 
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] [Bug] there is a problem of transaction message submission loss when there are two replicas and minSync=2 in controller mode [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7709:
URL: https://github.com/apache/rocketmq/issues/7709#issuecomment-2564109582

   This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.


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