[SERVER-41939] Connect to fastest LDAP server first Created: 26/Jun/19  Updated: 29/Oct/23  Resolved: 16/Sep/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.13, 4.2.1, 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Jonathan Reams Assignee: Jonathan Reams
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-13035 4.2.1 and 4.0.13 Investigate changes ... Closed
is documented by DOCS-13137 4.4 Investigate changes in SERVER-419... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0
Sprint: Security 2019-07-01, Security 2019-07-15
Participants:
Case:

 Description   

With the LDAP connection pool, we connect to all the LDAP hosts in order. Instead we should time how long it takes to do an empty "root DSE" query and choose which host to use based on which host was the fastest.



 Comments   
Comment by Githook User [ 16/Sep/19 ]

Author:

{'name': 'Jonathan Reams', 'username': 'jbreams', 'email': 'jonathan.reams@mongodb.com'}

Message: SERVER-41939 Connect to fastest LDAP server first

(cherry picked from commit db3e220bd14113c48231dc67f29361c291150330)
(cherry picked from commit 37d2f5d9fa71900e8a90a0ba9d25da1a460502b7)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/715c6dafb7b6ee8fdfff1dcfbfb3095fb973fd55

Comment by Githook User [ 16/Sep/19 ]

Author:

{'username': 'jbreams', 'email': 'jonathan.reams@mongodb.com', 'name': 'Jonathan Reams'}

Message: Revert "SERVER-41939 Connect to fastest LDAP server first"

This reverts commit 2bd89487e78bd48bcffdb9a791aea9212ccd4474.
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/1f0c6280fd9a65f1a120280dcbf7255d117e7e20

Comment by Githook User [ 16/Sep/19 ]

Author:

{'username': 'jbreams', 'email': 'jonathan.reams@mongodb.com', 'name': 'Jonathan Reams'}

Message: SERVER-41939 Fix external_auth suite to work with new LDAP proxy test

(cherry picked from commit 75e47b701d34c9ef7beb0482121ac8b62d2d4991)
(cherry picked from commit 7494fc8458ea265a41aa279d16ddb0d988b5331f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/2e1c5a80e63fd1e569575f3ecba4522415a43c14

Comment by Githook User [ 16/Sep/19 ]

Author:

{'name': 'Jonathan Reams', 'username': 'jbreams', 'email': 'jonathan.reams@mongodb.com'}

Message: SERVER-41939 Connect to fastest LDAP server first

(cherry picked from commit db3e220bd14113c48231dc67f29361c291150330)
(cherry picked from commit 37d2f5d9fa71900e8a90a0ba9d25da1a460502b7)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/2bd89487e78bd48bcffdb9a791aea9212ccd4474

Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'jbreams', 'email': 'jonathan.reams@mongodb.com', 'name': 'Jonathan Reams'}

Message: SERVER-41939 Fix external_auth suite to work with new LDAP proxy test

(cherry picked from commit 75e47b701d34c9ef7beb0482121ac8b62d2d4991)
Branch: v4.2
https://github.com/mongodb/mongo/commit/7494fc8458ea265a41aa279d16ddb0d988b5331f

Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'jbreams', 'email': 'jonathan.reams@mongodb.com', 'name': 'Jonathan Reams'}

Message: SERVER-41939 Connect to fastest LDAP server first

(cherry picked from commit db3e220bd14113c48231dc67f29361c291150330)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/37d2f5d9fa71900e8a90a0ba9d25da1a460502b7

Comment by Githook User [ 12/Jul/19 ]

Author:

{'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}

Message: SERVER-41939 Fix external_auth suite to work with new LDAP proxy test
Branch: master
https://github.com/mongodb/mongo/commit/75e47b701d34c9ef7beb0482121ac8b62d2d4991

Comment by Githook User [ 12/Jul/19 ]

Author:

{'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}

Message: SERVER-41939 Connect to fastest LDAP server first
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/db3e220bd14113c48231dc67f29361c291150330

Generated at Thu Feb 08 04:59:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.