You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zi...@apache.org on 2024/02/18 04:29:58 UTC
(pulsar) branch master updated: [improve][broker] Add an error log to troubleshoot the failure of starting broker registry. (#22065)
This is an automated email from the ASF dual-hosted git repository.
zixuan 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 baddda56e27 [improve][broker] Add an error log to troubleshoot the failure of starting broker registry. (#22065)
baddda56e27 is described below
commit baddda56e27486ea3b803bf7569768164444a738
Author: Xiangying Meng <55...@users.noreply.github.com>
AuthorDate: Sun Feb 18 12:29:51 2024 +0800
[improve][broker] Add an error log to troubleshoot the failure of starting broker registry. (#22065)
---
.../pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
index 3ebc2a52ecc..b7e98c0614a 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerImpl.java
@@ -444,6 +444,8 @@ public class ExtensibleLoadManagerImpl implements ExtensibleLoadManager {
this.initWaiter.countDown();
this.started = true;
} catch (Exception ex) {
+ log.error("Failed to start the extensible load balance and close broker registry {}.",
+ this.brokerRegistry, ex);
if (this.brokerRegistry != null) {
brokerRegistry.close();
}