This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 9d1a0b5612e [improve](rpc) Log channel state before shutdown backend
service client (#28667)
9d1a0b5612e is described below
commit 9d1a0b5612e318b8836709843d723fb164610701
Author: walter <[email protected]>
AuthorDate: Thu Dec 21 10:40:56 2023 +0800
[improve](rpc) Log channel state before shutdown backend service client
(#28667)
---
.../src/main/java/org/apache/doris/rpc/BackendServiceClient.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/rpc/BackendServiceClient.java
b/fe/fe-core/src/main/java/org/apache/doris/rpc/BackendServiceClient.java
index f3f4440e038..f8363755731 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/rpc/BackendServiceClient.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/rpc/BackendServiceClient.java
@@ -173,6 +173,8 @@ public class BackendServiceClient {
public void shutdown() {
+ ConnectivityState state = channel.getState(false);
+ LOG.warn("shut down backend service client: {}, channel state: {}",
address, state);
if (!channel.isShutdown()) {
channel.shutdown();
try {
@@ -194,7 +196,5 @@ public class BackendServiceClient {
return;
}
}
-
- LOG.warn("shut down backend service client: {}", address);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]