[CSHARP-2628] Creating a not required connection in RetryableReads Created: 05/Jun/19  Updated: 28/Oct/23  Resolved: 19/Jun/19

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

Type: Bug Priority: Major - P3
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


 Description   

https://github.com/mongodb/mongo-csharp-driver/blob/42d6f3c7820a7b476bb471a3e3baa0ee4a062181/src/MongoDB.Driver.Core/Core/Operations/ReadCommandOperation.cs#L71

 New connections created in the line 71 and 73. Instead of using the `Channel` that has already been stored in the `RetryableReadContext` we are going to to use a new one.



 Comments   
Comment by Githook User [ 19/Jun/19 ]

Author:

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

Message: CSHARP-2628: Fix issue with creating a not required connection in RetryableReads.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/636e485e0e1790feb49755a9bce0e3f34e5ff506

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