[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: |
|
||||||||
| 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: (cherry picked from commit 7ec54d50b63296b7abc6264258576847a49441d7) |
| Comment by Githook User [ 01/Apr/20 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: (cherry picked from commit 7ec54d50b63296b7abc6264258576847a49441d7) |
| Comment by Githook User [ 31/Mar/20 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: (cherry picked from commit 7ec54d50b63296b7abc6264258576847a49441d7) |
| Comment by Githook User [ 27/Mar/20 ] |
|
Author: {'email': 'spencer.jackson@mongodb.com', 'name': 'Spencer Jackson', 'username': 'spencerjackson'}Message: |