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

Await replication after configuring test setup in ldap_authz_lib.js

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Security 2020-02-24, Security 2020-03-09
    • 12

    Description

      ldap_authz_lib.js creates some useful users and roles that are required by later test execution. However, it can create these on a mongos. Mongos can only issue createUser and createRole to the Config Server ReplicaSet with wMajority. Because the test will want to probe all nodes of the CSRS, we actually want wAll. Because we cannot easily make mongos do what we want, and wMajority is fine for production deployments, we should await replication of our operations after invoking setupTest.

      Attachments

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: