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

LDAP connection pool acquisition state should own host list

    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0
    • Security 2020-04-06
    • 11

      Currently, when acquiring a connection for a set of LDAP hosts, the names of the hosts are owned on the stack. Jobs to fetch connections to all of the hosts are dispatched, and a StrongWeakFinishLine is used to either acquire the first successful connection, or the last unsuccessful. Once the FinishLine completes, connection acquisition is complete. However, there might still be jobs pending which have yet to finish successfully or fail. On failure, we log the name of the server which we failed to connect to. This name is retained by reference. However, the overarching operation might have completed, allowing the name to become invalid.

            spencer.jackson@mongodb.com Spencer Jackson
            spencer.jackson@mongodb.com Spencer Jackson
            0 Vote for this issue
            1 Start watching this issue