[SERVER-42761] Allow resmoke and the shell to initiate a replica set with "latest" version primary and "last-stable" secondaries Created: 12/Aug/19  Updated: 29/Oct/23  Resolved: 09/Sep/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 4.3 Required
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Jason Chan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: branch-4.2, post-branch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
duplicates SERVER-42775 Add mixedBinVersion command line opti... Closed
Problem/Incident
Related
related to SERVER-46315 Allow resmoke and the shell to initia... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23
Participants:
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.



 Comments   
Comment by Githook User [ 09/Sep/19 ]

Author:

{'username': 'jasonjhchan', 'email': 'jason.chan@mongodb.com', 'name': 'Jason Chan'}

Message: SERVER-42761 Move feature_compatibility_version.js into src/mongo/shell
Branch: master
https://github.com/mongodb/mongo/commit/21ca406e36dac858112259acace5859a304ae0de

Comment by Githook User [ 09/Sep/19 ]

Author:

{'username': 'jasonjhchan', 'email': 'jason.chan@mongodb.com', 'name': 'Jason Chan'}

Message: SERVER-42761 Allow resmoke and the shell to initiate a replica set with "latest" version primary and "last-stable" secondaries
Branch: master
https://github.com/mongodb/mongo/commit/eda7a26ec02cb0919a317d7850c162bfd9aff387

Generated at Thu Feb 08 05:01:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.