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

.NET: Thin client Dispose hangs when continuous query is active on .NET Core 3.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10
    • platforms

    Description

      • Switch all projects to netcoreapp3.0 (or 3.1)
      • Run Apache.Ignite.Core.Tests.Client.Cache.ContinuousQueryTest - it hangs on ClientSocket.Dispose

      Looks like Socket.Shutdown call is missing, or we can use Socket.Close with a timeout.
      Also see https://github.com/dotnet/runtime/issues/23990:

      The native behavior of closing a socket file descriptor while it's being used in a synchronous/blocking accept/connect/send/recv/etc. call is undefined on Linux, and often results in a hang
      

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              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 - 20m
                  20m