1782935682 opened a new issue, #9711: URL: https://github.com/apache/rocketmq/issues/9711
### 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 centos7 ### RocketMQ version 5.3.3 ### JDK Version 1.8 ### Describe the Bug 主从模式下,启用enableSlaveActingMaster ,当master宕机后,客户端会从slave拉取消息并提交位点。 当master恢复后,会通过preOnline流程,反向同步slave的部分数据,包括消费进度。 在brokerController初始化中,dateVersion没有被更新,会导致master的版本一直领先slave,master无法同步到最新的消费进度 <img width="1507" height="501" alt="Image" src="https://github.com/user-attachments/assets/296a9e4b-668e-4de0-aac3-b8259be78baa" /> 实际使用的 <img width="800" height="273" alt="Image" src="https://github.com/user-attachments/assets/666d3e17-9b20-4ac0-b374-c9b4b39122ed" /> 应该使用的 <img width="711" height="330" alt="Image" src="https://github.com/user-attachments/assets/e053a5a0-879e-422a-96fd-20e1e3327830" /> <img width="968" height="265" alt="Image" src="https://github.com/user-attachments/assets/df194c43-7c4c-4c22-8dbe-7fd820e334f7" /> ### Steps to Reproduce 1.启动1主1从 2,发送10条消息 3.kill master节点 4.从slave消费 5.启动master,查看消费进度 ### What Did You Expect to See? master同步到最新消费进度 ### What Did You See Instead? master没有同步消费进度 ### 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]
