-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java
Outdated
Show resolved
Hide resolved
store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAttention:
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. |
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()