You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "dingsongjie (via GitHub)" <gi...@apache.org> on 2025/07/31 11:29:15 UTC

[D] In controller mode, the transaction topic created will be lost after a master-slave switch of the Broker [rocketmq]

GitHub user dingsongjie created a discussion: In controller mode, the transaction topic created will be lost after a master-slave switch of the Broker

Version : 5.3.3

In controller mode, a transaction topic will be lost after a master-slave switch of the Broker. Through testing, I found that a topic created using mqadmin is only stored in the topics.json file on the master node and is not synchronized to the slave node. After a master-slave switch, the former slave becomes the new master, but the previously created topic is missing. I'm wondering if there's a misconfiguration on my side — shouldn't the topic information be stored in the controller in this mode?

GitHub link: https://github.com/apache/rocketmq/discussions/9586

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] In controller mode, the transaction topic created will be lost after a master-slave switch of the Broker [rocketmq]

Posted by "dingsongjie (via GitHub)" <gi...@apache.org>.
GitHub user dingsongjie edited a discussion: In controller mode, the transaction topic created will be lost after a master-slave switch of the Broker

Version : 5.3.3

In controller mode, a transaction topic will be lost after a master-slave switch of the Broker. Through testing, I found that a topic created using mqadmin is only stored in the topics.json file on the master node and is not synchronized to the slave node. After a master-slave switch, the former slave becomes the new master, but the previously created topic is missing. I'm wondering if there's a misconfiguration on my side?

GitHub link: https://github.com/apache/rocketmq/discussions/9586

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org


Re: [D] In controller mode, the transaction topic created will be lost after a master-slave switch of the Broker [rocketmq]

Posted by "Link-Tian (via GitHub)" <gi...@apache.org>.
GitHub user Link-Tian added a comment to the discussion: In controller mode, the transaction topic created will be lost after a master-slave switch of the Broker

I also encountered the same problem. After switching master and slave, the topic will disappear.

GitHub link: https://github.com/apache/rocketmq/discussions/9586#discussioncomment-14682747

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org