[SERVER-50706] Add fromConfigServer parameter to allow transitioning a shard server from lastLTS FCV to lastContinuousFCV Created: 02/Sep/20 Updated: 29/Oct/23 Resolved: 24/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.1, 4.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jason Chan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.7
|
||||||||||||
| Sprint: | Repl 2020-09-21, Repl 2020-10-05 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
On clean startup of a mongod with the --shardsvr option, the FCV is defaulted to the “last-lts” to ensure compatibility when being added to a downgraded version cluster. The config server will run setFeatureCompatibilityVersion on the new shard as part of the addShard command. In order to support the ability to add a new shard into a cluster that is running the “last-continuous” version, we must allow the new shard to be able to transition from the “last-lts” to “last-continuous” FCV. We will add a new optional fromConfigServer parameter to the setFeatureCompatibilityVersion command that will be called by the config server as part of addShard. Invoking setFeatureCompatibilityVersion with fromConfigServer: true will allow a shard server to transition from “last-lts” FCV to “last-continuous” FCV. |
| Comments |
| Comment by Githook User [ 24/Sep/20 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: (cherry picked from commit 3a6bde797e31d9e06e982aa20b89a856cfeef95c) |
| Comment by Githook User [ 24/Sep/20 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: |
| Comment by Jason Chan [ 03/Sep/20 ] |
|
We should add a test case that adding a lastContinuous FCV shard to a lastLTS cluster will fail. |