[CSHARP-2756] CompressorConfiguration must implement Equals Created: 25/Sep/19  Updated: 28/Oct/23  Resolved: 25/Sep/19

Status: Closed
Project: C# Driver
Component/s: Configuration
Affects Version/s: 2.9.1
Fix Version/s: 2.9.2

Type: Bug Priority: Critical - P2
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes CSHARP-2755 Prevent exceptions in legacy testing ... Closed

 Description   

Because CompressorConfiguration does not currently implement Equals two configurations that should compare Equal might not, which in turn interferes with proper operation of ClusterKey.Equals.

If ClusterKey.Equals returns false when it should return true that results in additional clusters being created which is a problem because clusters instances never go away and each cluster instance results in a new connection pool and new open sockets.



 Comments   
Comment by Githook User [ 25/Sep/19 ]

Author:

{'name': 'rstam', 'username': 'rstam', 'email': 'robert@robertstam.org'}

Message: CSHARP-2756: Implement CompressorConfiguration Equals method.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/aa87ba9c70b1a7273ef15aae18dff05be671c76f

Generated at Wed Feb 07 21:43:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.