Demogorgon314 opened a new pull request, #21083: URL: https://github.com/apache/pulsar/pull/21083
### Motivation Currently, when `ServiceUnitStateChannelImpl#doCleanup(String broker)` method gets called, it always uses the current broker address to build the heartbeat namespace. We should build the namespace by the parameter. ### Modifications * Cleanup correctly heartbeat bundle ownership when handling broker deletion event * Add unit test to verify. ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- 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. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org