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

Assign connections out of the connection pool in FIFO order

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.9.2
    • Connectivity
    • None

    Description

      The connection pool has a wait queue that is used to queue up requests for a connection when all existing connections are already checked out.

      The current implementation of the wait queue (C# driver version 1.9.x) pulls waiting callers out of the wait queue in random order, which means that some threads might end up waiting far longer than expected.

      Some drivers satisfy requests for connections from the connection pool in FIFO order.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: