Skip to content

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

@MarvinCai

Description

@MarvinCai

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.

Metadata

Metadata

Assignees

Labels

Stalearea/admintype/featureThe PR added a new feature or issue requested a new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions