[
https://issues.apache.org/jira/browse/IGNITE-12471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005300#comment-17005300
]
Alexandr Shapkin commented on IGNITE-12471:
-------------------------------------------
[~ptupitsyn] Looks good to me, please, check a couple of comments in PR
> .NET Thin Client: WithExpiryPolicy crashes client connection on old servers
> ---------------------------------------------------------------------------
>
> Key: IGNITE-12471
> URL: https://issues.apache.org/jira/browse/IGNITE-12471
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Affects Versions: 2.8
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: .NET
> Fix For: 2.8
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> ICacheClient.WithExpiryPolicy does not check protocol version and causes
> exception and disconnect:
> * Run Ignite 2.7.6 server node
> * Connect thin client from master branch
> * {{cache.WithExpiryPolicy(..).Put(1, 2)}}:
> {code}
> Unhandled exception. System.Net.Sockets.SocketException (10053): An
> established connection was aborted by the software in your host machine.
> at Apache.Ignite.Core.Impl.Client.ClientSocket.ReceiveBytes(Int32 size)
> at Apache.Ignite.Core.Impl.Client.ClientSocket.ReceiveMessage()
> at Apache.Ignite.Core.Impl.Client.ClientSocket.SendRequest(RequestMessage&
> reqMsg)
> at Apache.Ignite.Core.Impl.Client.ClientSocket.DoOutInOp[T](ClientOp opId,
> Action`1 writeAction, Func`2 readFunc, Func`3 errorFunc)
> at
> Apache.Ignite.Core.Impl.Client.ClientFailoverSocket.DoOutInOpAffinity[T,TKey](ClientOp
> opId, Action`1 writeAction, Func`2 readFunc, Int32 cacheId, TKey key, Func`3
> errorFunc)
> at
> Apache.Ignite.Core.Impl.Client.Cache.CacheClient`2.DoOutInOpAffinity[T](ClientOp
> opId, TK key, TV val, Func`2 readFunc)
> at
> Apache.Ignite.Core.Impl.Client.Cache.CacheClient`2.DoOutOpAffinity(ClientOp
> opId, TK key, TV val)
> at Apache.Ignite.Core.Impl.Client.Cache.CacheClient`2.Put(TK key, TV val)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)