You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2024/08/16 06:36:00 UTC

[jira] [Created] (IGNITE-23000) Client handshake blocks Netty thread for authentication

Pavel Tupitsyn created IGNITE-23000:
---------------------------------------

             Summary: Client handshake blocks Netty thread for authentication
                 Key: IGNITE-23000
                 URL: https://issues.apache.org/jira/browse/IGNITE-23000
             Project: Ignite
          Issue Type: Bug
          Components: thin client
    Affects Versions: 3.0.0-beta1
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 3.0.0-beta2


*ClientInboundMessageHandler#handshake* takes a lock and calls *Authenticator#authenticate*, which can take a long time (a second or more)

* We should never block Netty threads (taking locks, blocking on futures, etc)
* *Authenticator#authenticate* must be async
* *ClientInboundMessageHandler#handshake* must be async



--
This message was sent by Atlassian Jira
(v8.20.10#820010)