bharanic-dev opened a new issue #11734:
URL: https://github.com/apache/pulsar/issues/11734


   **Describe the bug**
   
   When a namespace is deleted, the namespace nodes in zookeeper in the 
following hierarchies are not getting deleted.
   
   /namespace/<tenant>/<namespace>
   /managed-ledgers/<tenant>/<namespace>
   
   If namespaces are added/deleted over time, the znode count keeps increasing 
leading to performance issues. It also leads to slow broker startup times.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Spin up a pulsar cluster
   
   2. create a namespace using pulsar-admin
   bin/pulsar-admin namespaces create public/test
   
   3. Using pulsar-perf publish some messages to a topic and later stop it.
   bin/pulsar-perf produce persistent://public/test/traffictest
   
   4. delete the namespace (also delete the topic, if need be)
   
   bin/pulsar-admin namespaces delete public/test
   
   One can observe that the znodes in the above paths don't get deleted.
   
   **Expected behavior**
   
   znodes should get deleted.


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