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

Test auth_no_pri.js uses insufficient write concern during setup.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0-rc1
    • 2.6.0-rc2
    • None
    • None
    • ALL
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: