-
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
[improve] clean the empty topicAuthenticationMap in zk when revoke permission #16815
[improve] clean the empty topicAuthenticationMap in zk when revoke permission #16815
Conversation
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.
The change looks good, could you please help add a test for the new change?
Thanks for your review. I have added a test. PTAL |
@TakaHiR07 Please rebase the master and resolve the conflict. |
@TakaHiR07 Please provide a correct documentation label for your PR. |
1 similar comment
@TakaHiR07 Please provide a correct documentation label for your PR. |
3b68294
to
1b31908
Compare
@Jason918 done. |
/pulsarbot run-failure-checks |
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
Link to #17393. |
Hi @TakaHiR07 |
…rmission (apache#16815) Co-authored-by: fanjianye <fanjianye@bigo.sg> (cherry picked from commit d139d88) (cherry picked from commit 7b711ca)
Motivation
Steps to reproduce:
Modifications
If the topic has no roles after revoke permission, remove topicKey from TopicAuthenticationMap
Verifying this change
This change is already covered by existing tests, such as PersistentTopicsTest.
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-not-needed
(Please explain why)