[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: |
|
||||||||||||||||||||||||
| 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: |
| Comment by Githook User [ 09/Sep/19 ] |
|
Author: {'username': 'jasonjhchan', 'email': 'jason.chan@mongodb.com', 'name': 'Jason Chan'}Message: |