Skip to content

Fix potential npe bug of #14384 - #14595

Merged
codelipenghui merged 2 commits into
apache:masterfrom
gaozhangmin:fix-error-Make-standalone-use-setMetadataStoreUrl-#14384
Mar 9, 2022
Merged

Fix potential npe bug of #14384#14595
codelipenghui merged 2 commits into
apache:masterfrom
gaozhangmin:fix-error-Make-standalone-use-setMetadataStoreUrl-#14384

Conversation

@gaozhangmin

@gaozhangmin gaozhangmin commented Mar 8, 2022

Copy link
Copy Markdown
Contributor

Motivation

Fix potential npe bug

Modifications

Fix potential npe bug

Documentation

Check the box below or label this PR directly (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions

github-actions Bot commented Mar 8, 2022

Copy link
Copy Markdown

@gaozhangmin:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions

github-actions Bot commented Mar 8, 2022

Copy link
Copy Markdown

@gaozhangmin:Thanks for providing doc info!

@github-actions github-actions Bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Mar 8, 2022
@lhotari

lhotari commented Mar 8, 2022

Copy link
Copy Markdown
Member

@gaozhangmin Please add some tests to cover this change.

@nodece nodece left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@gaozhangmin

Copy link
Copy Markdown
Contributor Author

@gaozhangmin Please add some tests to cover this change.

The tests were already covered by BookKeeperPackagesStorageTest.java. But need to change zookeeperServers to metadataStoreUrl @lhotari

@gaozhangmin

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@lhotari

lhotari commented Mar 8, 2022

Copy link
Copy Markdown
Member

@gaozhangmin Please add some tests to cover this change.

The tests were already covered by BookKeeperPackagesStorageTest.java. But need to change zookeeperServers to metadataStoreUrl @lhotari

ok, that explains. At the time I checked the PR there was a fix, but no test changes and that's why I made the comment.

@lhotari
lhotari requested a review from zymap March 8, 2022 10:15
@codelipenghui
codelipenghui merged commit 7c1f17a into apache:master Mar 9, 2022
@codelipenghui codelipenghui added this to the 2.11.0 milestone Mar 9, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants