-
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] PulsarStandalone started with error if --stream-storage-port is not 4181 #22993
Conversation
@dlg99 Can you review this pr?Thanks. |
/pulsarbot rerun-failure-checks |
@nodece |
…-port is not 4181
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #22993 +/- ##
============================================
- Coverage 73.57% 73.42% -0.15%
- Complexity 32624 32989 +365
============================================
Files 1877 1912 +35
Lines 139502 143195 +3693
Branches 15299 15590 +291
============================================
+ Hits 102638 105148 +2510
- Misses 28908 30022 +1114
- Partials 7956 8025 +69
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…-port is not 4181 (apache#22993) (cherry picked from commit 17e3f86) (cherry picked from commit 0753a2c)
…-port is not 4181 (apache#22993) (cherry picked from commit 17e3f86) (cherry picked from commit 0753a2c)
Motivation
Fixes #22992
Modifications
Replace hard coded port with
streamStoragePort
field inLocalBookkeeperEnsemble
.Verifying this change
Make sure that the change passes the CI checks.
This change added tests and can also be verified with command
PULSAR_STANDALONE_USE_ZOOKEEPER=1 bin/pulsar standalone --stream-storage-port 4182
Does this pull request potentially affect one of the following parts:
NO
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: zhouyifan279#1