[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: |