Skip to content

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

Merged
ShannonDing merged 1 commit into
apache:developfrom
RongtongJin:codex/rocksdb-cq-size-amplification
Jun 1, 2026
Merged

[ISSUE #10344] Parameterize RocksDB CQ size amplification#10343
ShannonDing merged 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
@ShannonDing ShannonDing merged commit e12d755 into apache:develop Jun 1, 2026
9 of 13 checks passed
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.

3 participants