bxfjb opened a new issue, #8927: URL: https://github.com/apache/rocketmq/issues/8927
### 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 any ### RocketMQ version develop ### JDK Version any ### Describe the Bug Lmq msg's queueOffset field is set to 0 wrongly. Easy to reproduce. Actually I found following codes in `MessageExtEncoder.java`: ![image](https://github.com/user-attachments/assets/cad050a1-fb0d-486e-b60b-9b3e34e876f5) But the latter update of queueOffset was not found. ### Steps to Reproduce Run a broker under latest develop version. Send msgs and set Lmq related properties. The queueOffset of these msgs is zero. ### What Did You Expect to See? Correct queueOffset. ### What Did You See Instead? Zero queueOffset. ### 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-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org