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

   ### 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 5.10
   
   ### RocketMQ version
   
   before 5.4.0
   
   ### JDK Version
   
   JDK11
   
   ### Describe the Bug
   
   
OP消息落盘延迟导致事务回查机制异常:当OP消息写入耗时≥1ms且首次发送时间落在特定时间窗口时,会因lastWriteTimestamp计算问题导致两个3秒间隔叠加,造成6秒延迟,使得已提交消息被错误回查并重复提交。
   
   Transaction check mechanism anomaly caused by OP message flush delay: When 
OP message write latency is ≥1ms and the first write timestamp falls within a 
specific time window, a calculation issue with lastWriteTimestamp causes two 
3-second intervals to be stacked, resulting in a 6-second delay that leads to 
already-committed messages being incorrectly rechecked and duplicate commits.
   
   ### Steps to Reproduce
   
   <img width="1338" height="946" alt="Image" 
src="https://github.com/user-attachments/assets/3c81f7b6-1a59-4529-b2f4-2ddbfb451b6f";
 />
   
   ### What Did You Expect to See?
   
   Transaction check mechanism anomaly caused by OP message flush delay: When 
OP message write latency is ≥1ms and the first write timestamp falls within a 
specific time window, a calculation issue with lastWriteTimestamp causes two 
3-second intervals to be stacked, resulting in a 6-second delay that leads to 
already-committed messages being incorrectly rechecked and duplicate commits.
   
   ### What Did You See Instead?
   
   No repeat
   
   ### 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]

Reply via email to