[SERVER-82352] Replace tenantId and SerializationContext with ValidatedTenancyScope in IDLParserContext constructor Created: 20/Oct/23  Updated: 18/Dec/23  Resolved: 18/Dec/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:
Gantt Dependency
has to be done before SERVER-81790 Make ValidatedTenancyScope a required... Backlog
Related
is related to SERVER-83797 Introduce DatabaseNameUtil (de)serial... In Code Review
is related to SERVER-83798 Create a serialization/deserializatio... Needs Scheduling
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25
Participants:

 Description   

Currently the IDLParserContextBase accepts a tenantId and SerializationContext in a few of its constructors. We should replace both of these with ValidatedTenancyScope and use that as the source-of-truth for tenant id and tenant protocol when parsing BSON into IDL types. Note that this ticket does not require ValidatedTenancyScope (that work is left to SERVER-81790), in this ticket we should make it an optional parameter.



 Comments   
Comment by Githook User [ 18/Dec/23 ]

Author:

{'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-82352 Replace tenantId and SerializationContext with ValidatedTenancyScope in IDLParserContext constructor

GitOrigin-RevId: 08aee09649420758a33fa005d81032956c28e7f7
Branch: master
https://github.com/mongodb/mongo/commit/5077531909548b01eeadc61ad209f329da7e8176

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