wolfstudy opened a new pull request #12711:
URL: https://github.com/apache/pulsar/pull/12711


   Signed-off-by: xiaolongran <[email protected]>
   
   
   Fixes #12710 
   
   
   ### Motivation
   
   According to the previous code logic, if the tenant resource is not forcibly 
deleted, the zk-node resource will be leaked, because under the condition of 
**!force**, the `clearTenantPersistence` code logic will not be called.
   
   ```
       protected void internalDeleteTenant(AsyncResponse asyncResponse, String 
tenant, boolean force) {
           if (force) {
               internalDeleteTenantForcefully(asyncResponse, tenant);
           } else {
               internalDeleteTenant(asyncResponse, tenant);
           }
       }
   ```
   
   
   
   


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