This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 72b2e7ed7c3 [fix] [broker] print warn log if compaction task skipped
cause by ex (#19360)
72b2e7ed7c3 is described below
commit 72b2e7ed7c3288f2b8d49615ebb64af75f907c14
Author: fengyubiao <[email protected]>
AuthorDate: Tue Jan 31 15:10:21 2023 +0800
[fix] [broker] print warn log if compaction task skipped cause by ex
(#19360)
---
.../org/apache/pulsar/broker/service/persistent/PersistentTopic.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
index ace27c3be96..dda9c89b726 100644
---
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
+++
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
@@ -1581,7 +1581,7 @@ public class PersistentTopic extends AbstractTopic
implements Topic, AddEntryCal
}
}
} catch (Exception e) {
- log.debug("[{}] Error getting policies", topic);
+ log.warn("[{}] Error getting policies and skipping compaction
check", topic, e);
}
}