Skip to content

[ISSUE #9254] Optimize the logs of the message store - #9528

Merged
lizhimins merged 10 commits into
apache:developfrom
qianye1001:cq-log-optimization
Jul 11, 2025
Merged

[ISSUE #9254] Optimize the logs of the message store#9528
lizhimins merged 10 commits into
apache:developfrom
qianye1001:cq-log-optimization

Conversation

@qianye1001

Copy link
Copy Markdown
Contributor

Which Issue(s) This PR Fixes

Fixes #9254

Brief Description

How Did You Test This Change?

Comment thread store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java Outdated
@codecov-commenter

codecov-commenter commented Jul 9, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.16667% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.99%. Comparing base (9337904) to head (feb6741).
⚠️ Report is 216 commits behind head on develop.

Files with missing lines Patch % Lines
...pache/rocketmq/store/MessageStoreStateMachine.java 77.08% 6 Missing and 5 partials ⚠️
...ache/rocketmq/store/config/MessageStoreConfig.java 50.00% 2 Missing ⚠️
...n/java/org/apache/rocketmq/store/ConsumeQueue.java 75.00% 0 Missing and 1 partial ⚠️
...ketmq/store/plugin/AbstractPluginMessageStore.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9528      +/-   ##
=============================================
- Coverage      48.00%   47.99%   -0.02%     
- Complexity     12026    12029       +3     
=============================================
  Files           1312     1313       +1     
  Lines          92696    92757      +61     
  Branches       11856    11862       +6     
=============================================
+ Hits           44496    44515      +19     
- Misses         42687    42716      +29     
- Partials        5513     5526      +13     

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

Comment thread store/src/main/java/org/apache/rocketmq/store/MessageStoreStateMachine.java Outdated
lizhimins
lizhimins previously approved these changes Jul 10, 2025
RongtongJin
RongtongJin previously approved these changes Jul 10, 2025
@lizhimins
lizhimins merged commit 8639dcc into apache:develop Jul 11, 2025
12 of 16 checks passed
hechen0 pushed a commit to hechen0/rocketmq that referenced this pull request Aug 18, 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] Refactor CQ-related thread in DefaultMessageStorage

5 participants