Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12471

.NET Thin Client: WithExpiryPolicy crashes client connection on old servers

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: platforms
    • Labels:
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ptupitsyn Pavel Tupitsyn
                Reporter:
                ptupitsyn Pavel Tupitsyn
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m