[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: |
|
||||||||
| 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: (cherry picked from commit 0f4af583f0e1ec3395caac0b1527a77932bee6eb) |
| Comment by Githook User [ 16/Jul/20 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: (cherry picked from commit 0f4af583f0e1ec3395caac0b1527a77932bee6eb) |
| Comment by Githook User [ 15/Jul/20 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: (cherry picked from commit 0f4af583f0e1ec3395caac0b1527a77932bee6eb) |
| Comment by Githook User [ 09/Jul/20 ] |
|
Author: {'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}Message: |