[SERVER-82317] Update manually constructed SerializationContext to consult opCtx for tenant protocol Created: 19/Oct/23  Updated: 10/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
Problem/Incident
Related
is related to SERVER-82602 Remove expectPrefix in the command bo... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.2
Sprint: Service Arch 2023-10-30, Service Arch 2023-11-13
Participants:
Linked BF Score: 162

 Description   

There are a number of places where we manually construct SerializationContext, generally for commands which have not been converted to IDL (here, or here for example). These sites must all be updated to consult the ValidatedTenancyScope attached to the opCtx as their source of truth for the tenant protocol.



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

Author:

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

Message: SERVER-82317 Update manually constructed SerializationContext to consult opCtx for tenant protocol
Branch: master
https://github.com/mongodb/mongo/commit/81c32b4c606717d42b48cdf4b9e26307b86c673a

Comment by Githook User [ 08/Nov/23 ]

Author:

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

Message: Revert "SERVER-82317 Update manually constructed SerializationContext to consult opCtx for tenant protocol"

This reverts commit 14353d6abc34d35476941c0f3304842e228e314b.
Branch: master
https://github.com/mongodb/mongo/commit/fbf2de6bb1502b3065fba70637e64beecb7b0898

Comment by Githook User [ 07/Nov/23 ]

Author:

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

Message: SERVER-82317 Update manually constructed SerializationContext to consult opCtx for tenant protocol
Branch: master
https://github.com/mongodb/mongo/commit/14353d6abc34d35476941c0f3304842e228e314b

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