Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ public Future<InternalService.PGetWalQueueSizeResponse> getWalQueueSize(


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 {
Expand All @@ -194,7 +196,5 @@ public void shutdown() {
return;
}
}

LOG.warn("shut down backend service client: {}", address);
}
}