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

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security
    • ALL
    • v4.2
    • Security 2019-04-22, Security 2019-05-06, Security 2019-05-20, Security 2019-06-03, Security 2019-06-17
    • 9

      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.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: