aloyszhang opened a new pull request #11196:
URL: https://github.com/apache/pulsar/pull/11196


   Fixes #11195
   
   ### Motivation
   
   Fix metadata not cleaned after delete namespace or tenant forcefully.
   
   ### Modifications
   **For force delete of namespace**
   Add delete for znode  `/managed-ledger/tenant/namespaces/persistent` , 
`/managed-ledger/tenant/namespaces/non-persistent` and  
`/managed-ledger/tenant/namespaces`  if exist.
   
   **For force delete of tenant**
   Add delete for znode  `/managed-ledger/tenant` if exist.
   
   ### Verifying this change
   
   This change added tests and can be verified as follows:
   
   Add new test for force delete of namespace in 
`AdminApiTest.testDeleteNamespaceForcefully`
   Extended test for force delete of tenant.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): ( no)
     - The public API: ( no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to