leizhiyuan opened a new issue, #15448:
URL: https://github.com/apache/pulsar/issues/15448
**Describe the bug**
if we create a namespace a, we will write some node in zk
maybe /namespaces/a ,/admin/policies/a. /balance/a some nodes were created
then we delete namespace a, and the pulsar will delete in zk
if deleting /namespaces/a succeeds, but admin/policies/a occurs error, we
return an error for the client
but if they delete twice, we judge `/namespaces/a` was deleted, we won't go
to the next step
then the zookeeper node will leak.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
how to keep atomicity in metastore when deleting, if fail,all fail,if
succeeds,all succeed
**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.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]