[SERVER-77244] Access VTS for SerializationContext for validate() Created: 17/May/23  Updated: 29/Oct/23  Resolved: 12/Jun/23

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

Type: Task Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-74284 Fix existing tests for command serial... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-06-12, Server Serverless 2023-06-26
Participants:

 Description   

`CollectionValidation::validate()` serializes a response to the "ns" field, so it needs to build out a serialization context reply object.  However, we need to ensure that it correctly accesses the VTS in order to set the tenantId source flag correctly on this object.  This is related to SERVER-76614, but should be a quick workaround rather than a full port of the command.



 Comments   
Comment by Githook User [ 11/Jun/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-77244 Access VTS for SerializationContext for validate()
Branch: master
https://github.com/mongodb/mongo/commit/2d5922aa88cb5807e0164758685b031d033d71d8

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