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

Ensure LDAP conn pool prefers ldap servers listed first

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.11, 4.2.0-rc3, 4.3.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: