[SERVER-49071] Make ldap_fastest_host_selection.js tolerate missing LDAP servers in statistics Created: 24/Jun/20  Updated: 29/Oct/23  Resolved: 10/Jul/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.20, 4.4.0-rc14, 4.2.9, 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
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Security 2020-07-13
Participants:
Linked BF Score: 12

 Description   

ldap_fastest_host_selection.js configures a MongoDB server with LDAP connection pooling which connects to several LDAP proxy servers. All but one proxy introduces extreme amounts of latency into requests. Sometimes, the test fails because it requests connection pool statistics, but observes that some proxies are missing.

This is expected behaviour, as the per-host connection pools can be shut down if they are inactive for too long. We should make the test tolerate missing entries, so long as the low latency host is included in the results.



 Comments   
Comment by Githook User [ 24/Jul/20 ]

Author:

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

Message: SERVER-49071 Make ldap_fastest_host_selection.js tolerate missing LDAP statistics

(cherry picked from commit 0f4af583f0e1ec3395caac0b1527a77932bee6eb)
(cherry picked from commit 6d8e00d18bd594c21c87dc53bfc53f71b4d08422)
(cherry picked from commit 900b16d5ac44e9856060f74865eb0b6b453edcd7)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/5ebf8797766141e1d66f1a4bec7cae9549b11086

Comment by Githook User [ 16/Jul/20 ]

Author:

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

Message: SERVER-49071 Make ldap_fastest_host_selection.js tolerate missing LDAP statistics

(cherry picked from commit 0f4af583f0e1ec3395caac0b1527a77932bee6eb)
(cherry picked from commit 6d8e00d18bd594c21c87dc53bfc53f71b4d08422)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/900b16d5ac44e9856060f74865eb0b6b453edcd7

Comment by Githook User [ 15/Jul/20 ]

Author:

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

Message: SERVER-49071 Make ldap_fastest_host_selection.js tolerate missing LDAP statistics

(cherry picked from commit 0f4af583f0e1ec3395caac0b1527a77932bee6eb)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/6d8e00d18bd594c21c87dc53bfc53f71b4d08422

Comment by Githook User [ 09/Jul/20 ]

Author:

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

Message: SERVER-49071 Make ldap_fastest_host_selection.js tolerate missing LDAP statistics
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/0f4af583f0e1ec3395caac0b1527a77932bee6eb

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