Repository navigation
[improve][broker] First judge whether config is null when standalone start - #18681
Conversation
RobertIndie
left a comment
There was a problem hiding this comment.
What issue is this PR fixing? It doesn't seem to change the existing behavior.
There is no problem but an optimization. bf194b5#diff-399556fcde9451e101db2623a732d231d48a6abbfed2db4c0b49e0cc20e634edR269-R289 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #18681 +/- ##
============================================
- Coverage 47.51% 46.88% -0.64%
+ Complexity 10520 10421 -99
============================================
Files 698 698
Lines 68079 68326 +247
Branches 7280 7331 +51
============================================
- Hits 32351 32032 -319
- Misses 32151 32687 +536
- Partials 3577 3607 +30
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Modifications
First judge whether config is null when standalone start.
Because pulsar standalone can exit directly when the configuration is
nulland it is unnecessary to first determine whether to use zk or rocksdb for metadata, this change occurred in #15478bf194b5#diff-399556fcde9451e101db2623a732d231d48a6abbfed2db4c0b49e0cc20e634edR269-R289
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: