aloyszhang opened a new issue #11195:
URL: https://github.com/apache/pulsar/issues/11195


   **Describe the bug**
   when delete a namespace or tenant forcefully,  there are some znodes not 
cleaned under `/manager-ledger`
   
   **To Reproduce**
   1. create a new tenant
   ```shell
   bin/pulsar-admin tenants create force-delete
   ```
   2. create a new namspace
   ```shell
   bin/pulsar-admin namespaces create force-delete/force-delete
   ```
   3. create a new topic
   ```shell
   bin/pulsar-admin topics create force-delete/force-delete/topic
   ```
   4. delelete namespace forcefully
   ```shell
    bin/pulsar-admin namespaces delete -f force-delete/force-delete
   ```
   ```shell
   
   **Expected behavior**
   znode under `/managed-ledger` path related to the deleted namespace should 
also be cleaned 
   
   **Screenshots**
   After force delete namespace `force-delete/force-delete`
   
![image](https://user-images.githubusercontent.com/48062889/124277417-986fff80-db77-11eb-8eb6-246f84258313.png)
   
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


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