Skip to content

[ISSUE #10173] Support LMQ in CombineConsumeQueueStore without migration to RocksDB CQ#10174

Merged
lizhimins merged 2 commits intoapache:developfrom
imzs:develop
Apr 3, 2026
Merged

[ISSUE #10173] Support LMQ in CombineConsumeQueueStore without migration to RocksDB CQ#10174
lizhimins merged 2 commits intoapache:developfrom
imzs:develop

Conversation

@imzs
Copy link
Copy Markdown
Contributor

@imzs imzs commented Mar 19, 2026

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.44186% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.27%. Comparing base (ebf1595) to head (fb7d141).
⚠️ Report is 14 commits behind head on develop.

Files with missing lines Patch % Lines
...rocketmq/store/queue/CombineConsumeQueueStore.java 57.89% 10 Missing and 6 partials ⚠️
...broker/config/v1/RocksDBConsumerOffsetManager.java 42.85% 3 Missing and 1 partial ⚠️
...ocketmq/broker/processor/LiteManagerProcessor.java 40.00% 2 Missing and 1 partial ⚠️
...a/org/apache/rocketmq/broker/BrokerController.java 33.33% 0 Missing and 2 partials ⚠️
...ketmq/broker/lite/RocksDBLiteLifecycleManager.java 84.61% 1 Missing and 1 partial ⚠️
...pache/rocketmq/store/queue/MultiDispatchUtils.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #10174      +/-   ##
=============================================
+ Coverage      48.94%   49.27%   +0.33%     
- Complexity     13389    13707     +318     
=============================================
  Files           1373     1373              
  Lines          99924   101930    +2006     
  Branches       12908    13539     +631     
=============================================
+ Hits           48904    50225    +1321     
- Misses         45097    45705     +608     
- Partials        5923     6000      +77     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

}

public static String getStorePathRocksDBConsumeQueue(final String rootDir) {
return rootDir + File.separator + "consumequeue_r";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This path looks a bit strange

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'consumequeue_rocksdb' would be better.

checkFile = new File(StorePathConfigHelper.getStorePathConsumeQueue(root) + File.separator + "CURRENT");
} else {
this.storePath = StorePathConfigHelper.getStorePathConsumeQueue(root);
checkFile = new File(StorePathConfigHelper.getStorePathRocksDBConsumeQueue(root) + File.separator + "CURRENT");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the current file used to determine whether it has been created?

@lizhimins lizhimins merged commit 2c2cc92 into apache:develop Apr 3, 2026
10 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