[Bug] Subscribing to topic executes work on the single threaded Pulsar metadata thread in some cases
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Read release policy
- [x] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
### Version
All released versions
### Minimal reproduce step
Subscribe to a topic when metadata isn't yet cached.
### What did you expect to see?
The topic ordered executor to be used.
### What did you see instead?
configuration-metadata-store executor was used:

It's this executor: https://github.com/apache/pulsar/blob/80157955b69d97fa0568fad4127e34e30e9a2b85/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/AbstractMetadataStore.java#L93-L95
### Anything else?
_No response_
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
Contributor guide
Assessment
This issue has not been assessed yet.