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

   ### Motivation
   
   **How to reproduce the issue**
   - Start two clusters with a global configuration metadata store
   - Enable `brokerDeleteInactiveTopicsEnabled` and 
`brokerDeleteInactivePartitionedTopicMetadataEnabled`
   - After topic partitions and topics are deleted from the GC mechanism, the 
following events occur
     - `cluster 1`:  deletes all partitions
     - `cluster 2`: deletes all partitions
     - `cluster 1`: deletes partitioned topic metadata(the schema and 
topic-level policies will also be deleted with the operation)
     - `cluster 2`: since the partitioned topic metadata was deleted by 
`cluster 1`(both clusters share the same metadata), it deletes nothing, then 
the issue occurs: topics were deleted, but schemas and topic-level policies are 
still there
   
   ### 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