-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker] Ignore metadata changes when broker is not in the Started state #24352
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
Conversation
lhotari
left a comment
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.
This solution won't work when using a dynamic port (0). What NPEs are you seeing?
|
Commented about another way to address the issue: #24312 (comment) |
…ed state Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #24352 +/- ##
============================================
+ Coverage 73.57% 74.22% +0.65%
- Complexity 32624 32645 +21
============================================
Files 1877 1866 -11
Lines 139502 145133 +5631
Branches 15299 16596 +1297
============================================
+ Hits 102638 107732 +5094
+ Misses 28908 28879 -29
- Partials 7956 8522 +566
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
lhotari
left a comment
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
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) Signed-off-by: Zixuan Liu <nodeces@gmail.com>
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 38d71d3)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 1602336)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 38d71d3)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 38d71d3)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 1602336)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 38d71d3)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com> (cherry picked from commit 12c96f6) (cherry picked from commit 38d71d3)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com>
…ed state (apache#24352) Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Fixes #24312
Motivation
The
brokerIdwas previously initialized in thestartmethod, after theBrokerServicehad already started. This could lead to aNullPointerExceptionif thebrokerIdis accessed during the early stages of startup.Modifications
brokerId, please fall back tounknown.Documentation
docdoc-requireddoc-not-neededdoc-complete