Validate Cluster Disposal cleanup

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • None
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      The .NET/C# driver v3.0 introduced an experimental feature that makes the IMongoClient inherit from IDisposable. The suggestion is to call ClusterRegistry.UnregisterAndDisposeCluster() to properly dispose off the cluster and connections. 

      A/C:

      • Validate that the connection pool and server monitoring are closed appropriately on cluster disposal.

              Assignee:
              Ferdinando Papale
              Reporter:
              Rishit Bhatia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: