Skip to content
New issue

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

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

Already on GitHub? # to your account

fix dledger recover abnormally may lost consume queue of tail #7599

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

bxfjb
Copy link
Contributor

@bxfjb bxfjb commented Dec 1, 2023

Which Issue(s) This PR Fixes

Fix #7355

Brief Description

rocketmq in dledger mode will recover correctly from an abnormal downtime

How Did You Test This Change?

Run DLedgerCommitlogTest.testDLedgerAbnormallyRecover()

@bxfjb
Copy link
Contributor Author

bxfjb commented Dec 1, 2023

@cserwen I opened this pr for #7355 , could you please review it?

cserwen
cserwen previously approved these changes Dec 13, 2023
Copy link
Member

@cserwen cserwen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@joeCarf joeCarf left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@joeCarf joeCarf left a comment

Choose a reason for hiding this comment

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

lgtm

yuz10
yuz10 previously approved these changes Jan 16, 2024
@bxfjb bxfjb dismissed stale reviews from yuz10 and cserwen via d0402b0 January 17, 2024 03:39
Copy link
Member

@yuz10 yuz10 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (65faea2) 43.19% compared to head (72522ad) 43.18%.
Report is 38 commits behind head on develop.

Files Patch % Lines
...pache/rocketmq/store/dledger/DLedgerCommitLog.java 67.46% 16 Missing and 11 partials ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7599      +/-   ##
=============================================
- Coverage      43.19%   43.18%   -0.02%     
- Complexity      9782     9828      +46     
=============================================
  Files           1162     1167       +5     
  Lines          84378    84690     +312     
  Branches       10955    10993      +38     
=============================================
+ Hits           36451    36572     +121     
- Misses         43397    43570     +173     
- Partials        4530     4548      +18     

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

@yuz10 yuz10 merged commit 646e2a4 into apache:develop Jan 18, 2024
9 of 10 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] ConsumeQueue building exception caused by host downtime
5 participants