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;