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

Confirmation of registration in free_mon_rs_resend.js may race with registration

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • None
    • None
    • ALL
    • v4.2
    • Security 2019-04-22, Security 2019-05-06, Security 2019-05-20, Security 2019-06-03, Security 2019-06-17
    • 9

    Description

      The primary's webserver is instructed to return a re-registration request on the third metrics upload. When this happens, it persists a document to disk which describes free monitoring being in the pending state, which gets replicated to the secondary. While the secondary has this document, it will display the "pending" state in serverStatus. The test has a race, where it will wait for one registration on the primary and secondary, then check serverStatus. It is possible for the primary to make three metrics uploads, and get the re-registration request before the serverStatus is validated.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-security Backlog - Security Team
              spencer.jackson@mongodb.com Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: