gaoyf opened a new issue, #9275: URL: https://github.com/apache/rocketmq/issues/9275
### Before Creating the Bug Report - [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment OS: CentOS 6.9 ### RocketMQ version branch: (develop|tag 5.3.1) version: 5.3.1 ### JDK Version JDK: 1.8.0_202 ### Describe the Bug The slave's accessMessageInMemoryMaxRatio may become negative in some cases, causing the consumer to consume from the slave all the time. ### Steps to Reproduce 1. Deploy one master and one slave. 2. Update any broker config except accessMessageInMemoryMaxRatio. 3. Restart slave  If you loop through the above steps, accessMessageInMemoryMaxRatio will become negative. ### What Did You Expect to See? accessMessageInMemoryMaxRatio should be 30 ### What Did You See Instead? accessMessageInMemoryMaxRatio had changed to 20 ### Additional Context _No response_ -- 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. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org