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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.2
    • Affects Version/s: 2.2.1
    • Component/s: Connectivity
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: