apache / apache/pulsar

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

Open
#15,450 3 comments 0 reactions 1 assignee Assigned to @MarvinCai View on GitHub
area/admin Stale type/feature
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.