-
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
[improve][broker] Add retry for start service unit state channel (ExtensibleLoadManagerImpl only) #23230
Conversation
...r-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/ModularLoadManagerImpl.java
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23230 +/- ##
============================================
+ Coverage 73.57% 74.48% +0.91%
- Complexity 32624 33684 +1060
============================================
Files 1877 1922 +45
Lines 139502 144784 +5282
Branches 15299 15837 +538
============================================
+ Hits 102638 107842 +5204
+ Misses 28908 28673 -235
- Partials 7956 8269 +313
Flags with carried forward coverage won't be shown. Click here to find out more.
|
...src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
Show resolved
Hide resolved
...src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.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. One minor comment
...src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
Show resolved
Hide resolved
Let me merge it since there is no new response from @lhotari. Please open a new PR if you found something wrong. |
…ensibleLoadManagerImpl only) (apache#23230) (cherry picked from commit 8bb30a1) (cherry picked from commit 97fad78)
…ensibleLoadManagerImpl only) (apache#23230)
…ensibleLoadManagerImpl only) (apache#23230) (cherry picked from commit 8bb30a1) (cherry picked from commit 97fad78)
…nel (ExtensibleLoadManagerImpl only) (apache#23230)" This reverts commit 8bb30a1.
Motivation
When the service unit state channel fails to start, it will throw an exception, and after the PR #22977 , it will fail forever, because the pulsar broker cannot catch the exception, and it won't have any retry mechanism
Modifications
Add retry for start service unit state channel
Documentation
doc
doc-required
doc-not-needed
doc-complete