Nikita Amelchev created IGNITE-28992:
----------------------------------------

             Summary: Fix SSL handshake timeout deadlock in the client connector
                 Key: IGNITE-28992
                 URL: https://issues.apache.org/jira/browse/IGNITE-28992
             Project: Ignite
          Issue Type: Bug
            Reporter: Nikita Amelchev
            Assignee: Nikita Amelchev


A lock inversion can occur when an SSL client handshake races with its timeout. 
The timeout worker holds the {{CancelableTask}} monitor and waits for the SSL 
lock while closing the session, whereas the NIO worker holds the SSL lock and 
waits for the task monitor in {{{}CancelableTask.close(){}}}. This deadlocks 
both threads and may prevent node shutdown.



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

Reply via email to