We currently invoke OpenLDAPConnection::disconnect() inline in the OpenLDAPConnection destructor. (We do a simliar thing for windows.) Unfortunately, this means that we invoke synchronous networking under a mutex if the handle is destroyed in returnConnection() here. We should schedule this disconnect call out of line instead so that we do not hold that mutex for a long period of time.
- causes
-
SERVER-59456 Start the LDAPReaper threadpool
- Closed
- is depended on by
-
SERVER-56183 Prevent LDAP connection pool from stalling the serverStatus output
- Closed
- related to
-
SERVER-57233 Reap LDAP connections inline if multithreading is not enabled
- Closed
-
SERVER-56183 Prevent LDAP connection pool from stalling the serverStatus output
- Closed