[GitHub] [rocketmq] mxsm added a comment to the discussion: [5.1.0]关于Dledger和controller疑问

2023-02-26 Thread GitBox
GitHub user mxsm added a comment to the discussion: [5.1.0]关于Dledger和controller疑问 @SchopenhauerZhang 这种情况下你直接进行切换是不行的, 之前的DLedger主键是用来存储Broker的数据,而Controller模式将数据存储上移了。直接放到了Broker中。与此同时DLedger现在作用是单独作为一个选主组件。

[GitHub] [rocketmq] mxsm added a comment to the discussion: [5.1.0]关于Dledger和controller疑问

2023-02-26 Thread GitBox
GitHub user mxsm added a comment to the discussion: [5.1.0]关于Dledger和controller疑问 @SchopenhauerZhang 1主2从(DLedger 模式)你只需要按照controller+一主一从的模式(2个broker)部署3个Broker就可以了。 通过Controller模式的选举出来1主剩下的2个Broker就是Slave. 这个就满足你的controller+1主2从。 GitHub link:

[GitHub] [rocketmq] mxsm added a comment to the discussion: [5.1.0]关于Dledger和controller疑问

2023-02-24 Thread GitBox
GitHub user mxsm added a comment to the discussion: [5.1.0]关于Dledger和controller疑问 @Hoxxx 1. 副本越多性能会有所下降,这个是Raft算法导致。 2. DLedger Controller可以内嵌NameServer也可以单独部署,Broker如果部署两个节点那就是一主一从 3. Broker你可以部署多个,当Master宕机下线会从剩下的Broker中重新选择一个Broker作为Master。