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

.NET: Thin Client Compute leaks ClientNotificationHandler instances

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: platforms
    • Labels:

      Description

      In multithreaded thin client compute scenarios there is a possibility for ClientNotificationHandler leak: handlers remain in ClientSocket._notificationListeners even after corresponding tasks have completed.

      To reproduce, add the following code at the end of ComputeClientTests.TestExecuteJavaTaskAsyncMultithreaded:

                  var failoverSocket = TestUtils.GetPrivateField<ClientFailoverSocket>(client, "_socket");
                  var socket = TestUtils.GetPrivateField<ClientSocket>(failoverSocket, "_socket");
                  var listeners = TestUtils.GetPrivateField<ICollection>(socket, "_notificationListeners");
                  Assert.IsEmpty(listeners);
      

        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 - 20m
                  20m