package still exists after calling `pulsar-admin packages delete`
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
**Describe the bug**
After using `admin packages` delete a package, I can still list the deleted package:
```
➜ apache-pulsar-2.9.1 ./bin/pulsar-admin packages delete function://public/default/void@v0.1
"The package 'function://public/default/void@v0.1' deleted successfully"
➜ apache-pulsar-2.9.1 ./bin/pulsar-admin packages list --type function public/default
"void"
➜ apache-pulsar-2.9.1 ./bin/pulsar-admin packages list --type function public/default
"void"
➜ apache-pulsar-2.9.1 ./bin/pulsar-admin packages list --type function public/default
"void"
```
And the result of list version is:
```
➜ apache-pulsar-2.9.1 ./bin/pulsar-admin packages list-versions function://public/default/void
➜ apache-pulsar-2.9.1
```
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
After a package deletion, the `list` should not return the package name
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.