[SERVER-76869] Access VTS for Distinct command parsing Created: 04/May/23  Updated: 29/Oct/23  Resolved: 01/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc3

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
Participants:
Story Points: 3

 Description   

Distinct has been updated to provide a default command request SerializationContext object to updated explainStages and aggregation_request_helper::parse() calls, but the VTS isn't being passed into the parsers correctly.  The work was originally deferred to SERVER-75930, but this will still cause issues in existing tests with the NTDI security token passthrough test, so we need to address this for SERVER-74284 instead.

As the goal of these changes are in pursuit of fixing tests that will fail once serializeForCommands and deserializeForCommands are plumbed in, no new tests are being added for this ticket.



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

Author:

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

Message: SERVER-76869 Access VTS for Distinct command parsing
Branch: master
https://github.com/mongodb/mongo/commit/0b991a7898e71d172de922d1577b0985fa42551f

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