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

isself_failure_initiate.js may have a race between "replSetInitiate" and the FCV updating process

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2021-08-09

      Description

      Once we run replSetInitiate, the primary has to perform a quorum check and communicate with the secondary. In a mixed replica set, if the primary is started with the 5.1 binary while the other is started with 5.0, the primary sets its FCV to 5.1, then to "downgrading to 5.0", and then finally to 5.0.

      While the primary is on 5.1, its wire version will be incompatible with the secondary's. We are having a race, which causes replSetInitiate to fail, since the wire versions are incompatible.

      This failure may extend to isself_failure_restart.js and isself_failure_reconfig.js too.

      Please see comments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ali.mir Ali Mir
              Reporter:
              vishnu.kaushik Vishnu Kaushik
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: