-
Type:
Task
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Connectivity
-
None
-
(copied to CRM)
-
None
-
Dotnet Drivers
-
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.