[SERVER-75089] Fail setFCV with CannotDowngrade if the config server is serving as a shard Created: 21/Mar/23  Updated: 29/Oct/23  Resolved: 24/Mar/23

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2023-04-03
Participants:

 Description   

We don't allow downgrading while the config server is acting as a shard (ie has an entry in config.shards) because earlier versions don't support that configuration. Currently we fail setFCV downgrades with IllegalOperation, but should fail with CannotDowngrade for consistency with the other places we reject downgrades.



 Comments   
Comment by Githook User [ 23/Mar/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-75089 Fail setFCV with CannotDowngrade if the config server is serving as a shard
Branch: master
https://github.com/mongodb/mongo/commit/4b452fb96c568137dc3bfacaae452d0cb6f3b32d

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