Skip to content

[ISSUE #10344] Parameterize RocksDB CQ size amplification#10343

Open
RongtongJin wants to merge 1 commit into
apache:developfrom
RongtongJin:codex/rocksdb-cq-size-amplification
Open

[ISSUE #10344] Parameterize RocksDB CQ size amplification#10343
RongtongJin wants to merge 1 commit into
apache:developfrom
RongtongJin:codex/rocksdb-cq-size-amplification

Conversation

@RongtongJin
Copy link
Copy Markdown
Contributor

Which Issue(s) This PR Fixes

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

@RongtongJin RongtongJin changed the title Parameterize RocksDB CQ size amplification [ISSUE #10344] Parameterize RocksDB CQ size amplification May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant