apache / pulsar

Apache Pulsar - distributed pub-sub messaging system
https://pulsar.apache.org/
Apache License 2.0
14.13k stars 3.57k forks source link

Cleanup all Pulsar related metadata in delete-cluster-metadata command #15450

Open MarvinCai opened 2 years ago

MarvinCai commented 2 years ago

Is your feature request related to a problem? Please describe. Currently seems the delete-cluster-metadata command is only cleaning the /admin/clusters and /managed-ledgers path in MetaStore, which might left some metadata in MetaStore like tenant and namespace data. And if user reuse same MetaStore for a new Pulsar cluster could observe tenant/namespace from previous installation.

Describe the solution you'd like Provide an option in the delete-cluster-metadata command to completely remove all metadata in MetaStore.

Describe alternatives you've considered N/A

Additional context Add any other context or screenshots about the feature request here.

mattisonchao commented 2 years ago

Hi @MarvinCai I will try to support this feature.

MarvinCai commented 2 years ago

@mattisonchao hi, are you still working on it?

github-actions[bot] commented 2 years ago

The issue had no activity for 30 days, mark with Stale label.