Demogorgon314 opened a new pull request, #19402: URL: https://github.com/apache/pulsar/pull/19402
Fixes #19401 ### Motivation After unregistering, the other broker registry lock manager's metadata cache might not be updated yet, so we need to wait for it to synchronize. https://github.com/apache/pulsar/blob/7604d4aef670e31177d803e9f3c4a912be94267f/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/coordination/impl/LockManagerImpl.java#L155-L157 ### Modifications Wait for the metadata cache to synchronize after release. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
