[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:
Backports
Related
related to SERVER-50954 Remove fromConfigServer FCV code afte... Closed
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: SERVER-50706 Add fromConfigServer parameter to allow transitioning a shard server from lastLTS FCV to lastContinuousFCV

(cherry picked from commit 3a6bde797e31d9e06e982aa20b89a856cfeef95c)
(cherry picked from commit c8a178cbacb46b3d44cc0a4bb8ba77645bc42c6b)
Branch: v4.7
https://github.com/mongodb/mongo/commit/aa2faa36250d818ae54287323ec5d72cfa00b7ef

Comment by Githook User [ 24/Sep/20 ]

Author:

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

Message: SERVER-50706 Add fromConfigServer parameter to allow transitioning a shard server from lastLTS FCV to lastContinuousFCV
Branch: master
https://github.com/mongodb/mongo/commit/3a6bde797e31d9e06e982aa20b89a856cfeef95c

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.

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