pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[fix][broker] Fix NamespaceService#getListOfNonPersistentTopics not found the topic

Open nodece opened this issue 2 years ago • 2 comments

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 getListOfNonPersistentTopics method

Documentation

  • [ ] doc
  • [ ] doc-required
  • [x] doc-not-needed
  • [ ] doc-complete

nodece avatar Dec 08 '23 05:12 nodece

/pulsarbot rerun-failure-checks

nodece avatar Dec 08 '23 13:12 nodece

~Waiting for #21701~

#21701 just to unify the check the topic exists in the metadata store, different from this fix.

nodece avatar Dec 17 '23 08:12 nodece