Jason918 commented on a change in pull request #14730:
URL: https://github.com/apache/pulsar/pull/14730#discussion_r831733540
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java
##########
@@ -791,6 +791,11 @@ protected void
validateGlobalNamespaceOwnership(NamespaceName namespace) {
log.warn(msg);
validationFuture.completeExceptionally(new
RestException(Status.PRECONDITION_FAILED, msg));
+ } else if (policies.deleted) {
Review comment:
@Technoboy-
My concern is more about if we delete a namespace, we may still get previous
error info "Namespace does not have any clusters configured : local_cluster=%s
ns=%s".
It's confusing for users.
> so it should be checked later to reduce the judgment.
The performance issue here is insignificant.
--
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]