Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49071

Make ldap_fastest_host_selection.js tolerate missing LDAP servers in statistics

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2, v4.0
    • Sprint:
      Security 2020-07-13
    • 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.

        Attachments

          Activity

            People

            Assignee:
            spencer.jackson Spencer Jackson
            Reporter:
            spencer.jackson Spencer Jackson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: