[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:
Backports
Gantt Dependency
has to be done before SERVER-82319 simulate_atlas_proxy override only co... Closed
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: SERVER-82318 IDL-generated parseProtected which accepts OpMsgRequest consults opCtx for tenant protocol
Branch: master
https://github.com/mongodb/mongo/commit/1b662fc0429c624a7a6fb25870187b51e48a24c0

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