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

Allow resmoke and the shell to initiate a replica set with "latest" version primary and "last-stable" secondaries

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23
    • Linked BF Score:
      0

      Description

      Currently, both ReplicaSetFixture and ReplSetTest set up replica sets by initiating a single-node replica set, starting additional nodes if necessary, and then performing a reconfig to add them. Running the rsInitiate command with a single node will use “latest” FCV. This will cause IncompatibleServerVersion errors if additional "last-stable" binary version nodes are subsequently added to the set, since such nodes cannot set their FCV to "latest".

      To get around this problem, if the randomBinVersion and mixed_bin_version flags are set to true in ReplSetTest and ReplicaSetFixture respectively, we will set the FCV of the first node to “last-stable” before adding new members to the set.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jason.chan Jason Chan
              Reporter:
              jason.chan Jason Chan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: