hangc0276 opened a new pull request #10126:
URL: https://github.com/apache/pulsar/pull/10126


   ### Motivation
   When call `resolveOwnership`, it will trigger listener notify, and the 
registered listeners will trigger onLoad/unLoad operation. However, the 
`resolveOwnership` will be called by topic lookup check, thus the registered 
listeners will be notified on each lookup check.  In fact, the listeners only 
need to be notified when bundle load/unload.
   
   ### Changes
   1. remove listeners' trigger notify operation on `resolveOwnership`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to