[SERVER-68721] Pass tenantId from NamespaceString into IDLParserContext when parsing Find and Pipeline commands Created: 10/Aug/22  Updated: 29/Oct/23  Resolved: 05/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Fernando Lisboa (Inactive) Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-66708 Ensure deserializer methods for IDL ... Closed
Gantt Dependency
has to be done before SERVER-65950 Enable multi-tenancy support for the ... Closed
Related
related to SERVER-69438 Complete TODO listed in SERVER-68721 Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-09-05
Participants:

 Description   

In query_request_helper::makeFromFindCommand, pass the tenantId available in the NamespaceString nss to the IDLParserContext to make the tenantId available inside the FindCommandRequest object. Do the same for aggregation_request_helper::parseFromBSON to make the tenantId available in the AggregateCommandRequest object. As a part of this ticket, add tests checking that the explain and pipeline commands work with tenantIds. For more context, view SERVER-67657.

This work depends on SERVER-66708



 Comments   
Comment by Githook User [ 01/Sep/22 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-68721 Pass tenantId from NamespaceString into IDLParserContext when parsing Find and Pipeline commands
Branch: master
https://github.com/mongodb/mongo/commit/7da3e551561ee61122d4507660c41db39067e4e1

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