提交 a90342e9 编写于 作者: D dongeforever

No need to change to slave

上级 a50b733d
......@@ -806,9 +806,7 @@ public class BrokerController {
this.filterServerManager.start();
}
if (messageStoreConfig.isEnableDLegerCommitLog()) {
changeToSlave(((DLedgerCommitLog)((DefaultMessageStore) messageStore).getCommitLog()).getId());
} else {
if (!messageStoreConfig.isEnableDLegerCommitLog()) {
startProcessorByHa(messageStoreConfig.getBrokerRole());
handleSlaveSynchronize(messageStoreConfig.getBrokerRole());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册