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

Ensure LDAP conn pool prefers ldap servers listed first

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.11, 4.2.0-rc3, 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.2, v4.0
    • Security 2019-07-01

      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.

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

              Created:
              Updated:
              Resolved: