-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix] [broker] Fix system topic can not be loaded up if it contains data offloaded #23279
[fix] [broker] Fix system topic can not be loaded up if it contains data offloaded #23279
Conversation
/pulsarbot rerun-failure-checks |
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
Outdated
Show resolved
Hide resolved
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
Outdated
Show resolved
Hide resolved
...-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ReadonlyWrapperLedgerOffloader.java
Outdated
Show resolved
Hide resolved
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
Outdated
Show resolved
Hide resolved
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
Outdated
Show resolved
Hide resolved
...-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ReadonlyWrapperLedgerOffloader.java
Outdated
Show resolved
Hide resolved
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
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, good work @poorbarcode
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23279 +/- ##
============================================
+ Coverage 73.57% 74.52% +0.94%
- Complexity 32624 33763 +1139
============================================
Files 1877 1927 +50
Lines 139502 145055 +5553
Branches 15299 15858 +559
============================================
+ Hits 102638 108099 +5461
+ Misses 28908 28694 -214
- Partials 7956 8262 +306
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…ata offloaded (apache#23279) (cherry picked from commit fc0e4e3) (cherry picked from commit bd95463)
…ata offloaded (apache#23279) (cherry picked from commit fc0e4e3) (cherry picked from commit bd95463)
Motivation
After #22497, the broker will not offload data or read data from offloaded for the system topic, the PR has not considered compatibility for the cluster that already offloaded data, which leads to the system topics can not be loaded up if they contain data offloaded.
Modifications
fix compatibility
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: x