Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41828

Ensure LDAP conn pool prefers ldap servers listed first

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.11, 4.2.0-rc3, 4.3.1
    • None
    • None
    • Fully Compatible
    • v4.2, v4.0
    • Security 2019-07-01

    Description

      The LDAP connection pool currently tries to connect to all servers at once and returns the first one that succeeds. However in the common case where the connection pool has a bunch of healthy connections, this can lead to very non-deterministic host selection. We should try to get a connection to each ldap server in they order they are listed, and only start connecting to them asynchronously if they cannot be fulfilled immediately.

      Attachments

        Activity

          People

            jonathan.reams@mongodb.com Jonathan Reams
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: