[CSHARP-3762] Single TopologyType should ignore "Server Description Equality" logic Created: 21/Jul/21  Updated: 27/Oct/23  Resolved: 04/Aug/21

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: SDAM
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The spec says:

Whenever the client checks a server (successfully or not), and *regardless* of whether the new server description is equal to the previous server description as defined in Server Description Equality, the ServerDescription in TopologyDescription.servers MUST be replaced with the new ServerDescription.

that we violate here

 NOTE: this also includes SDAM events



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 04/Aug/21 ]

I misunderstood the spec intention. We still need to consider SDAM equality logic for SDAM events and should ignore it for updating topology itself. This behavior is already implemented.

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