BewareMyPower commented on issue #9474:
URL: https://github.com/apache/pulsar/issues/9474#issuecomment-773152486


   This command is to delete a cluster's metadata. As you can see, the 
`/admin/clusters` node may contain two nodes:
   
   ```bash
   $ ls /admin/clusters 
   [global, my-cluster]
   ```
   
   Here `my-cluster` is the `clusterName` defined in `conf/broker.conf`. When 
we have multiple clusters that share the same configuration store, if we 
deleted the whole `/admin` node, other clusters would be affected.
   
   The same goes for `/ledgers` node when multiple clusters share the same 
bookie cluster.
   
   As for the other nodes under `/ledgers` and `/admin`, it should be deleted 
by the related admin operations. For example, when you delete a topic, the 
broker will delete all associated ledgers, which contains the nodes in ZK 
(`/ledgers/00/0000/L<ledger-id>`). We should not delete these nodes manually.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to