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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-08-09

      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.

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

              Created:
              Updated:
              Resolved: