Slave's accessMessageInMemoryMaxRatio should be calculated dynamically
Which Issue(s) This PR Fixes
Fixes #9275
Brief Description
How Did You Test This Change?
Hello, May I ask you a question? When I create a new PR, it shows
Review required
At least 1 approving review is required by reviewers with write access.
Do I have to do something or just wait?
Hello, May I ask you a question? When I create a new PR, it shows Review required At least 1 approving review is required by reviewers with write access. Do I have to do something or just wait?
Wait
@RongtongJin 这个PR这么久了分配一下人review吧
@RongtongJin 这个PR这么久了分配一下人review吧
可以先解决一下冲突
我看develop分支已经删除了org.apache.rocketmq.broker.BrokerStartup下面的代码:
if (BrokerRole.SLAVE == messageStoreConfig.getBrokerRole()) {
int ratio = messageStoreConfig.getAccessMessageInMemoryMaxRatio() - 10;
messageStoreConfig.setAccessMessageInMemoryMaxRatio(ratio);
}
那么这个bug也就不存在了,我关闭这个pr了
