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

    • Fully Compatible
    • Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23
    • 0

      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.

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

              Created:
              Updated:
              Resolved: