GitHub user mxsm edited a comment on the discussion: 
[5.1.0]关于Dledger和controller疑问

@SchopenhauerZhang   这种情况下你直接进行切换是不行的, 
之前的DLedger主键是用来存储Broker的数据,而Controller模式将数据存储上移了。直接放到了Broker中。与此同时DLedger现在作用是单独作为一个选主组件。
 
在状态机里面存储的是Broker的一些元数据信息。当你DLedger加载数据的时候Controller实现的状态机是无法识别DLedger里面的数据的,所以你的错误应该是状态机对数据进行解析的时候报错对吗?你可以了解一下5.0版本Controller模块设计文档:https://github.com/apache/rocketmq/wiki/RIP-44-Support-DLedger-Controller
 。 不知道这样说是不是能够解答你的问题。

GitHub link: 
https://github.com/apache/rocketmq/discussions/6172#discussioncomment-5119509

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

Reply via email to