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

   ### Motivation
   
   #### Background
   - Users may start 2 clusters with the Geo-Replication feature with Global ZK
   - Users want to hire one cluster, so remove the cluster from 
`namespace-level replicatedClusters`
     - Broker will remove the topics of the cluster removed automatically.
   - Issue occurs:
     - The system topic `__change_events` being deleted first.
     - User topics can not be deleted anymore, because the operation `delete 
topic-level policies` can not be executed successfully anymore.
     - The task `topic.checkReplication` and other operations will retry again 
and again, as a result, the broker will crash of OOM  
   
   ### Modifications
   - Skip removing topic-level policies if the system topic `__change_event` 
has been deleted.
   
   ### 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