fujian-zfj opened a new issue, #9206: URL: https://github.com/apache/rocketmq/issues/9206
### 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 All platform ### RocketMQ version latest ### JDK Version all ### Describe the Bug In rocksdb and HA mode, slave try to sync topics and subscription, but slave do not write these meta to WAL, it may cause loss of topics and subcription after slave is elected to master. ### Steps to Reproduce when I try to enable rocksdb and HA mode, 1.broker1 was elected as master, broker2 was elected as slave. 2.some topics and subscriptions were created to broker1. 3.For some reason, broker2 was elected as master, then broker1 and broker2 are all down, after broker1 restarted, we can not get topics or subscription in master broker1. ### What Did You Expect to See? those topic and subscription should be in new master broker1 after it restarts. ### What Did You See Instead? no topic and subscription found in new master broker1 after it restarts. ### 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