-
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] avoid offload system topic #22497
Conversation
Avoid setting broker internal system topics using off-loader because some of them are the preconditions of other topics. The slow replying log speed will cause a delay in all the topic loading.(timeout)
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
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.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
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/BrokerTestBase.java
Outdated
Show resolved
Hide resolved
@mattisonchao Why do we closed this PR? |
discussed with @mattisonchao , reopen the PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #22497 +/- ##
=============================================
- Coverage 73.57% 41.94% -31.63%
+ Complexity 32624 15011 -17613
=============================================
Files 1877 1749 -128
Lines 139502 139850 +348
Branches 15299 16220 +921
=============================================
- Hits 102638 58660 -43978
- Misses 28908 73885 +44977
+ Partials 7956 7305 -651
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Co-authored-by: 道君 <[email protected]>
Co-authored-by: 道君 <[email protected]> (cherry picked from commit 3114199)
Co-authored-by: 道君 <[email protected]> (cherry picked from commit 3114199) (cherry picked from commit 20483f5)
Co-authored-by: 道君 <[email protected]> (cherry picked from commit 3114199) (cherry picked from commit 20483f5)
Motivation
Avoid setting broker internal system topics using off-loader because some of them are the preconditions of other topics. The slow replying log speed will cause a delay in all the topic loading.(timeout)
Modifications
Verifying this change
Documentation
doc
doc-required
doc-not-needed
doc-complete