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 2021/09/01 03:45:39 UTC
[GitHub] [pulsar] michaeljmarshall commented on a change in pull request #11863: [Broker] Refine topic level backlog quota policies warning log
michaeljmarshall commented on a change in pull request #11863:
URL: https://github.com/apache/pulsar/pull/11863#discussion_r699821334
##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BacklogQuotaManager.java
##########
@@ -91,9 +91,12 @@ public BacklogQuotaImpl getBacklogQuota(TopicName topicName, BacklogQuotaType ba
.map(TopicPolicies::getBackLogQuotaMap)
.map(map -> map.get(backlogQuotaType.name()))
.orElseGet(() -> getBacklogQuota(topicName.getNamespace(), policyPath, backlogQuotaType));
+ } catch (BrokerServiceException.TopicPoliciesCacheNotInitException e) {
+ log.debug("Topic policies cache have not init, will apply the namespace backlog quota: topicName={}",
+ topicName);
} catch (Exception e) {
- log.warn("Failed to read topic policies data, will apply the namespace backlog quota: topicName={}",
- topicName, e);
+ log.error("Failed to read topic policies data,"
Review comment:
```suggestion
log.error("Failed to read topic policies data, "
```
--
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