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

Find operations should release connections back to the pool between calls to GetMore

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.2
    • 2.2.1
    • Connectivity
    • None

    Description

      The work that was done earlier to support using the Find command (when connected to a server that supports the Find command) inadvertently caused the connection to be kept checked out of the connection pool for the lifetime of the AsyncCursor.

      Before this change the connection was released back to the pool between calls to GetMore. The prior behavior is considered desirable because it allows the connection to be used for other purposes in the meantime, increasing the throughput possible with a given number of connections.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: