[SERVER-55636] Add the parameter to the setFCV command to make it support 2-Phases Created: 30/Mar/21  Updated: 29/Oct/23  Resolved: 15/Apr/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Jordi Serra Torrens
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-0-Metadata-Format
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-55641 Reorganize the FCV upgrade/downgrade ... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Add a 'phase' enumeration field to the FeatureCompatibilityVersionDocument. This field will only be valid to be specified on shards. If the 'phase' is specified on a non-sharded cluster, the setFCV command will fail.

The phase will be one of 'start' (phase-1) and 'complete' (phase-2). The shard must verify that both phases of the same setFCV sequence have the same 'timestamp'.



 Comments   
Comment by Githook User [ 15/Apr/21 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-55636: Narrow the scope of the setFeatureCompatibilityVersion lock to only be held in exclusive mode when changing the in-memory and persisted FCV value.
Branch: master
https://github.com/mongodb/mongo/commit/ce9a9f1dde79d3e510af42fe0646560616e8965c

Comment by Githook User [ 14/Apr/21 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-55636: Add the parameter to the setFCV command to make it support 2-Phases
Branch: master
https://github.com/mongodb/mongo/commit/75a91976cbfa9d6ac66316a34d12e47bcc5599d3

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