GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [fix][broker] Log replication policy check failures (#27676) · apache/pulsar@55f18e4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pulsar-broker/src/main/java/org/apache/pulsar/broker/service
    • BrokerService.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java‎

Copy file name to clipboardExpand all lines: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2573,7 +2573,11 @@ public void checkMessageExpiry() {
25732573
}
25742574

25752575
public void checkReplicationPolicies() {
2576-
forEachTopic(Topic::checkReplication);
2576+
forEachTopic(topic -> topic.checkReplication().whenComplete((ignored, error) -> {
2577+
if (error != null) {
2578+
log.warn("[{}] Failed to check replication policies", topic.getName(), error);
2579+
}
2580+
}));
25772581
}
25782582

25792583
public void checkCompaction() {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.