[CSHARP-4629] Use max wire version from a connection level instead of server. Created: 25/Apr/23  Updated: 28/Oct/23  Resolved: 26/Apr/23

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

Type: Task Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Documentation Changes Summary:

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?


 Description   

DRIVERS-2524 has added validation on maxWireVersion during creating collection. However LB servers don't have heartbeat and therefore we can't validate maxVireVersion based on ServerDescription. We can do it in ConnectionDescription, but it can be too late in case of CSFLE.

See failed patch

 



 Comments   
Comment by Githook User [ 26/Apr/23 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-4629: Use max wire version from a connection level instead of server. (#1071)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/9ef0890eac960b0761fa1fe95e2a326fcdc84293

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