Skip to content

[ISSUE #9471] load kv store before service start in PopConsumerService#9472

Closed
3424672656 wants to merge 2 commits intoapache:developfrom
3424672656:pop_rocksdb_load
Closed

[ISSUE #9471] load kv store before service start in PopConsumerService#9472
3424672656 wants to merge 2 commits intoapache:developfrom
3424672656:pop_rocksdb_load

Conversation

@3424672656
Copy link
Copy Markdown
Contributor

Which Issue(s) This PR Fixes

Fixes #9471

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 13, 2025

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.97%. Comparing base (53a3f69) to head (c93c76f).
⚠️ Report is 233 commits behind head on develop.

Files with missing lines Patch % Lines
...a/org/apache/rocketmq/broker/BrokerController.java 0.00% 1 Missing and 1 partial ⚠️
...e/rocketmq/broker/pop/PopConsumerRocksdbStore.java 0.00% 1 Missing ⚠️
...apache/rocketmq/broker/pop/PopConsumerService.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9472      +/-   ##
=============================================
- Coverage      48.15%   47.97%   -0.19%     
+ Complexity     12027    11982      -45     
=============================================
  Files           1308     1308              
  Lines          92253    92257       +4     
  Branches       11808    11810       +2     
=============================================
- Hits           44425    44260     -165     
- Misses         42343    42487     +144     
- Partials        5485     5510      +25     

☔ 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.

}

if (brokerConfig.isPopConsumerKVServiceInit()) {
result = result && popConsumerService.load();
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.

init method in BrokerController#startBasicService

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.

Clipboard_Screenshot_1750230321
init method in BrokerController#initialize

@3424672656 3424672656 requested a review from lizhimins June 19, 2025 06:29
@lizhimins lizhimins closed this Jun 28, 2025
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.

[Enhancement] load kv store before service start in PopConsumerService

3 participants