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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]