csdm001 opened a new issue #2561:
URL: https://github.com/apache/rocketmq/issues/2561


   in `org.apache.rocketmq.broker.BrokerStartup#createBrokerController ` method:
   
   final MessageStoreConfig messageStoreConfig = new MessageStoreConfig();
   if (BrokerRole.SLAVE == messageStoreConfig.getBrokerRole()) {
       int ratio = messageStoreConfig.getAccessMessageInMemoryMaxRatio() - 10;
       messageStoreConfig.setAccessMessageInMemoryMaxRatio(ratio);
   }
   
   I think that  the  if branch code is never executed
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to