pulsar
pulsar copied to clipboard
[fix][broker] Fix NamespaceService#getListOfNonPersistentTopics not found the topic
Motivation
When using the admin-client to set the replication cluster for non-persistent partitioned topic, the broker throws the topic not found, due to org.apache.pulsar.broker.namespace.NamespaceService#getListOfNonPersistentTopics didn't fetch the non-persistent partitioned topic list from the metadatastore.
Modifications
- Fetch the non-persistent partitioned topic list from the metadatastore in
getListOfNonPersistentTopicsmethod
Documentation
- [ ]
doc - [ ]
doc-required - [x]
doc-not-needed - [ ]
doc-complete
/pulsarbot rerun-failure-checks
~Waiting for #21701~
#21701 just to unify the check the topic exists in the metadata store, different from this fix.