[
https://issues.apache.org/jira/browse/IGNITE-23000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875821#comment-17875821
]
Igor Sapego commented on IGNITE-23000:
--------------------------------------
Looks good to me.
> 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
> Priority: Critical
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *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)