Skip to content
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 NPE in PersistentStickyKeyDispatcherMultipleConsumers #8969

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

315157973
Copy link
Contributor

Fixes #8960

Motivation

If use HashRangeExclusiveStickyKeyConsumerSelector(Key_Shared), NPE may occurs.

Modifications

fix npe

Verifying this change

PersistentStickyKeyDispatcherMultipleConsumersTest.java

@315157973
Copy link
Contributor Author

/pulsarbot run-failure-checks

@merlimat merlimat merged commit 19242a6 into apache:master Dec 16, 2020
@315157973 315157973 deleted the dispatcher-npe branch December 17, 2020 02:52
codelipenghui pushed a commit that referenced this pull request Dec 21, 2020
(cherry picked from commit 19242a6)
codelipenghui pushed a commit that referenced this pull request Dec 21, 2020
(cherry picked from commit 19242a6)
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE in PersistentStickyKeyDispatcherMultipleConsumers
5 participants