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

   ### 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
   
   OS: linux
   
   ### RocketMQ version
   
   version: 4.8.0 dledger mode
   
   ### JDK Version
   
   1.8
   
   ### Describe the Bug
   
   producer get a result with wrong offset when sending message one by one, eg: 
   ```
   
result:{"messageQueue":{"brokerName":"broker-a","queueId":5,"topic":"XXX_TOPIC"},"msgId":"0AB70A3C11D6293D01072F7A9C3A0A7A","offsetMsgId":"0AB70BE5000078BF0000000905EDED1C","queueOffset":26,"regionId":"DefaultRegion","sendStatus":"SEND_OK","traceOn":true}
   ```
   The above offset is 26. But the offset in server is about 8000+. At the same 
time the consumer can not consume this message with wrong offset. 
   
   Looking into the log in server, there are lots of logs, eg:2024-10-07 
17:00:26 WARN PullMessageThread_9 - PULL_OFFSET_MOVED:correction offset. 
topic=XXX_TOPIC, groupId=TOOLS_CONSUMER, requestOffset=xxx, 
   
   ### Steps to Reproduce
   
   online error. can not reproduce now.
   
   ### What Did You Expect to See?
   
   Is it possible topicQueueTable in server would be reset to 0 in 4.8.0 dleger 
version? or Is it a bug?
   
   ### What Did You See Instead?
   
   producer send msg one by one with right offset
   
   ### Additional Context
   
   none


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