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

Test auth_no_pri.js uses insufficient write concern during setup.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc1
    • Component/s: None
    • Labels:
      None
    • ALL
    • 0

      The test jstests/replsets/auth_no_pri.js attempts to confirm that authentication is possible on connections to replica sets with no primary. It does so by creating a small replica set, adding a user and a data document, then taking down two of the three member nodes. The remaining node must eventually drop to secondary state, at which point the test attempts to authenticate and read the data document.

      Unfortunately, the test does not express sufficient write concern when inserting the user and data documents, so it is possible for either of them to fail to propagate to the last node before the first two nodes are taken down.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: