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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Security 2019-04-22, Security 2019-05-06, Security 2019-05-20, Security 2019-06-03, Security 2019-06-17
    • Linked BF Score:
      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

              Assignee:
              backlog-server-security Backlog - Security Team
              Reporter:
              spencer.jackson Spencer Jackson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: