[improve] clean the empty topicAuthenticationMap in zk when revoke permission#16815
Conversation
codelipenghui
left a comment
There was a problem hiding this comment.
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 |
|
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
yeswas chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-not-needed(Please explain why)