Nicklee007 opened a new issue #13973:
URL: https://github.com/apache/pulsar/issues/13973


   **Describe the bug**
   old bundle not release from bundleData in loadData and bundlesCache after 
the bundle be split.
   pulsar version: 2.9.1
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. create a namespace and get the namespace bundle owned by a broker;
   2. split the bundle, waiting the broker execute updateBundleData() and the 
leader broker execute writeBundleDataOnZooKeeper()
   3.monitor any broker's loadData-bundleData  and ls zk  path 
'/loadbalance/bundle-data/(tenant)/(namespace)'  
   4. can see the loadData-bundleData  don't remove the be split old bundle, 
and in the zk path the old bundle-data will always update when the leader 
broker execute writeBundleDataOnZooKeeper() about 15min once.
   
![image](https://user-images.githubusercontent.com/84127069/151284695-6ed09a2c-5a43-4fff-a841-0988b6de30f1.png)
   
   
   **Expected behavior**
   when the bundle inactive, we remove the bundle from bundle-data and 
bundlesCache; also the znode should be delete by the leader broker.
   


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