Details
Description
There are several places where thin client threads can hang:
GridNioClientConnectionMultiplexer: SSL enabled + PA enabled
// Can return finished future with error -> sslHandshakeFut will not complete. GridNioFuture<GridNioSession> sesFut = srv.createSession(ch, meta, false, null); if (sslHandshakeFut != null) sslHandshakeFut.get();
TcpClientChannel: PA enabled
ClientRequestFuture fut = new ClientRequestFuture(requestId, ClientOperation.HANDSHAKE); // TcpClientChannel may be closed and fut will not complete. assert !closed.get(); pendingReqs.put(requestId, fut); ... ByteBuffer buf = timeout > 0 ? fut.get(timeout) : fut.get();
Attachments
Issue Links
- relates to
-
IGNITE-14789 Thin client startup hangs if an error occur during SSL handshake
- Reopened
-
IGNITE-18591 Java thin client: Cluster discovery
- Resolved
- links to