Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1902

pool.Put() always releases the semaphore

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Connections

    Description

      topology.pool always releases the semaphore, even if the connection being put back is nil or from a different pool, so more connections can be available than there really are.

      Attachments

        Activity

          People

            Unassigned Unassigned
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: