poorbarcode opened a new pull request, #24680:
URL: https://github.com/apache/pulsar/pull/24680

   ### Motivation
   
   To reproduce the issue:
   - Create a partitioned topic with 2 partitions
   - All partitions are deleted because the feature 
`brokerDeleteInactiveTopicsEnabled` is `true`
   - Try to get the topic-level policies; you will get a Topic not found error
   
   The master branch does not have the issue because #24225 have fixed it 
[here](https://github.com/apache/pulsar/pull/24225/files#diff-6902810fd24ff29ec34052bcc6a0de36d76107649148d945b80ec2be888e9042L734-R778)
   
   ### Modifications
   
   fix the issue
   
   ### 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 -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: x


-- 
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]

Reply via email to