From 4c5a937028086ab9062f22ad3d85900cbc5a644b Mon Sep 17 00:00:00 2001 From: anandheritage Date: Sun, 15 Sep 2024 08:15:32 +0530 Subject: [PATCH] Remove Local SSL context --- .../apache/pinot/query/service/dispatch/DispatchClient.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pinot-query-runtime/src/main/java/org/apache/pinot/query/service/dispatch/DispatchClient.java b/pinot-query-runtime/src/main/java/org/apache/pinot/query/service/dispatch/DispatchClient.java index a78103cef454..427317b5b0c7 100644 --- a/pinot-query-runtime/src/main/java/org/apache/pinot/query/service/dispatch/DispatchClient.java +++ b/pinot-query-runtime/src/main/java/org/apache/pinot/query/service/dispatch/DispatchClient.java @@ -45,11 +45,6 @@ */ class DispatchClient { private static final StreamObserver NO_OP_CANCEL_STREAM_OBSERVER = new CancelObserver(); - private static final Logger LOGGER = LoggerFactory.getLogger(DispatchClient.class); - // the key is the hashCode of the TlsConfig, the value is the SslContext - // We don't use TlsConfig as the map key because the TlsConfig is mutable, which means the hashCode can change. If the - // hashCode changes and the map is resized, the SslContext of the old hashCode will be lost. - private static final Map CLIENT_SSL_CONTEXTS_CACHE = new ConcurrentHashMap<>(); private final ManagedChannel _channel; private final PinotQueryWorkerGrpc.PinotQueryWorkerStub _dispatchStub;