Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

3424672656
Copy link
Contributor

Which Issue(s) This PR Fixes

Fixes #9471

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link

Codecov Report

Attention: 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).

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.14%   47.97%   -0.17%     
+ Complexity     12022    11982      -40     
=============================================
  Files           1308     1308              
  Lines          92253    92257       +4     
  Branches       11808    11810       +2     
=============================================
- Hits           44413    44260     -153     
- Misses         42352    42487     +135     
- Partials        5488     5510      +22     

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

@@ -883,6 +883,10 @@ public boolean recoverAndInitService() throws CloneNotSupportedException {
result = this.messageStore.load();
}

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

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