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

Pavel Tupitsyn commented on IGNITE-28343:
-----------------------------------------

Race condition is not confirmed, we never call *TryRemove* after the request is 
actually send to the socket, because we don't do *ThrowIfCancellationRequested* 
after sending the request.

> .NET: Race condition on request cancellation
> --------------------------------------------
>
>                 Key: IGNITE-28343
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28343
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms ai3, thin clients ai3
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>
> *ClientSocket* does *_requests.TryRemove* on cancel, but the response will 
> arrive if the request is already sent to the socket, and lead to "Unexpected 
> response ID" exception and a disconnect.



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

Reply via email to