(SA) Adapt command registry to support both router and shard commands (SERVER-78976)

[SERVER-82682] mandatory command roles Created: 01/Nov/23  Updated: 17/Nov/23  Resolved: 17/Nov/23

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

Type: Sub-task Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-08-07, Service Arch 2023-08-21, Service Arch 2023-09-04, Service Arch 2023-09-18
Participants:

 Description   

We should make sure that new commands cannot be accidentally created without having a role assigned to them (Shard or Router).

A few commands have been created without a role already.



 Comments   
Comment by Githook User [ 16/Nov/23 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-82682 do not accept role-less commands
Branch: master
https://github.com/mongodb/mongo/commit/4b1f25b035f860cb2c15dea159962efac4bde355

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