[SERVER-82318] IDL-generated parseProtected which accepts OpMsgRequest consults opCtx for tenant protocol Created: 19/Oct/23 Updated: 08/Nov/23 Resolved: 07/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matt Broadstone | Assignee: | Mathis Bessa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v7.2
|
||||||||||||
| Sprint: | Service Arch 2023-11-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The IDL compiler generates two parseProtected methods, one which accepts a BSONObj and the other which accepts an OpMsgRequest. This ticket covers updating the latter to derive the tenant protocol from the OpMsgRequest or the command body. The current behavior is to only consult the command body, which is currently depended on by our test infrastructure. We will remove support for checking the command body in upcoming tickets |
| Comments |
| Comment by Githook User [ 07/Nov/23 ] |
|
Author: {'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: |