[SERVER-47113] LDAP connection pool acquisition state should own host list Created: 25/Mar/20  Updated: 29/Oct/23  Resolved: 27/Mar/20

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 4.2.6, 4.4.0-rc0, 4.0.18, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Security 2020-04-06
Participants:
Linked BF Score: 11

 Description   

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.



 Comments   
Comment by Githook User [ 06/Apr/20 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-47113 Make LDAP connection acquire state own host list

(cherry picked from commit 7ec54d50b63296b7abc6264258576847a49441d7)
(cherry picked from commit 47b05c034967e48353e7ca0204eccd79ebbcb6e2)
(cherry picked from commit 4e04c3d0cf01a78435e98fa6f8098507325be0c2)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/ff29fd12ccad17c414c97e2e052550a934c7eeca

Comment by Githook User [ 01/Apr/20 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-47113 Make LDAP connection acquire state own host list

(cherry picked from commit 7ec54d50b63296b7abc6264258576847a49441d7)
(cherry picked from commit 47b05c034967e48353e7ca0204eccd79ebbcb6e2)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/9eada1ea26920fb827a9aa8add5ac5f37ade593f

Comment by Githook User [ 31/Mar/20 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-47113 Make LDAP connection acquire state own host list

(cherry picked from commit 7ec54d50b63296b7abc6264258576847a49441d7)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/47b05c034967e48353e7ca0204eccd79ebbcb6e2

Comment by Githook User [ 27/Mar/20 ]

Author:

{'email': 'spencer.jackson@mongodb.com', 'name': 'Spencer Jackson', 'username': 'spencerjackson'}

Message: SERVER-47113 Make LDAP connection acquire state own host list
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/7ec54d50b63296b7abc6264258576847a49441d7

Generated at Thu Feb 08 05:13:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.