[ 
https://issues.apache.org/jira/browse/IGNITE-23000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875853#comment-17875853
 ] 

Pavel Tupitsyn commented on IGNITE-23000:
-----------------------------------------

Merged to main: 
[29d28d03eb027a8c2c71fde2d2e03e414bf6c6a8|https://github.com/apache/ignite-3/commit/29d28d03eb027a8c2c71fde2d2e03e414bf6c6a8]

> 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: 20m
>  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)

Reply via email to