Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2628

Creating a not required connection in RetryableReads

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.9.0
    • None
    • Connectivity
    • None

    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.

      Attachments

        Activity

          People

            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: