You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/26 14:14:36 UTC

[GitHub] [pulsar] mattisonchao commented on a change in pull request #14850: [improve][broker] Add log when update namespace policies with error.

mattisonchao commented on a change in pull request #14850:
URL: https://github.com/apache/pulsar/pull/14850#discussion_r835769573



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
##########
@@ -2433,6 +2433,9 @@ private boolean shouldTopicBeRetained() {
                 return CompletableFuture.allOf(replicationFuture, dedupFuture, persistentPoliciesFuture,
                         preCreateSubscriptionForCompactionIfNeeded());
             });
+        }).exceptionally(ex -> {
+            log.error("update namespace polices : {} error", data, ex);

Review comment:
       Could we add a namespace name to show which namespace update policy fail?




-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org