Technoboy- opened a new pull request, #17416: URL: https://github.com/apache/pulsar/pull/17416
### Motivation When we call broker#getTopic to get topics, the same topic requests twice, once with the domain and once without the domain, then there will be 2 instances in `topics`. Both instances are associated with the same ManagedLedger. Because we put the key `persistent://tn/ns/xxx` and `tn/ns/xxx` into the `topics`. In this case, when we close the topic, another key related to the topic and the ManagedLedger may cause creating producer/consumer failure. see the below test. ### Documentation - [x] `doc-not-needed` (Please explain why) -- 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]
