RongtongJin opened a new pull request, #10343: URL: https://github.com/apache/rocketmq/pull/10343
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes <!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. --> ### Summary - Add `rocksdbMaxSizeAmplificationPercent` to `MessageStoreConfig`, defaulting to the current value `25`. - Apply the value only when building RocksDB ConsumeQueue universal compaction options. - Add a focused unit test for the CQ compaction option. ### Motivation This lets operators tune RocksDB ConsumeQueue universal compaction space amplification without changing defaults or affecting other RocksDB users. ### Test Plan - `/usr/local/bin/mvn -pl store -DskipITs -Dtest=RocksDBOptionsFactoryTest test` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
