[SERVER-73279] Support FCV transitions with a catalog shard Created: 24/Jan/23  Updated: 29/Oct/23  Resolved: 18/May/23

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

Type: Task Priority: Major - P3
Reporter: Wenqin Ye Assignee: Wenqin Ye
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-73278 When not acting as the shard role, sk... Closed
Related
related to SERVER-71962 Evaluate usages of ClusterRole in set... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2023-05-01, Sharding NYC 2023-05-15, Sharding NYC 2023-05-29
Participants:

 Description   

To support FCV transitions with a catalog shard, we need to ensure that:

  • A catalog shard does not send duplicate "phase-x" commands to shards"
  • We update any "if statements" that involve a clusterRole to also be able to differentiate between a catalog shard acting as a config server or as a shard (this includes the ones in the hooks and ones outside of the hooks)
  • The FCV document doesn't get updated a duplicate amount of times

Note that this can only be worked on once the 7.0 is out, otherwise FCV upgrades/downgrades are not possible. 



 Comments   
Comment by Githook User [ 17/May/23 ]

Author:

{'name': 'wenqinYe', 'email': 'wenqin908@gmail.com', 'username': 'wenqinYe'}

Message: SERVER-73279: Support FCV transitions with a catalog shard
Branch: master
https://github.com/mongodb/mongo/commit/04f256f636530adea9774790181a20fbed4be4a0

Comment by Jack Mulrow [ 13/Apr/23 ]

We ended up adding catalog shard setFCV support in SERVER-71962, but in 7.0 we didn't allow a catalog shard to downgrade, and now that we have new FCV constants in master, we should repurpose this ticket to add a generic multiversion test to verify that a catalog shard can downgrade and upgrade FCV with concurrent CRUD and DDL ops. We can use the existing "upgrade_downgrade_cluster.js" test as a guide.

Generated at Thu Feb 08 06:24:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.