You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "RongtongJin (via GitHub)" <gi...@apache.org> on 2026/05/19 06:23:57 UTC

[PR] Parameterize RocksDB CQ size amplification [rocketmq]

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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #10344] Parameterize RocksDB CQ size amplification [rocketmq]

Posted by "ShannonDing (via GitHub)" <gi...@apache.org>.
ShannonDing merged PR #10343:
URL: https://github.com/apache/rocketmq/pull/10343


-- 
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-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org