liangyuanpeng commented on a change in pull request #11811:
URL: https://github.com/apache/pulsar/pull/11811#discussion_r698013751
##########
File path: pulsar-broker/src/main/resources/log4j2.xml
##########
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
Review comment:
Absolutely, sorry about that.
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java
##########
@@ -961,7 +962,7 @@ public void validatePoliciesReadOnlyAccess() {
}
if (children != null && !children.isEmpty()) {
checkNs.completeExceptionally(
- new
RestException(Status.PRECONDITION_FAILED, "Tenant has active namespace"));
+ new RestException(Status.CONFLICT,
"The tenant still has active namespace"));
Review comment:
Thanks for your review,I'm not sure about "Client are expecting the
PRECONDITION_FAILED in some of the places.", Seems like this method
(internalDeleteTenant) used by API delete tenant only.
--
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]