[SERVER-66024] Include tenantId when constructing namespaces for agg stages Created: 27/Apr/22  Updated: 29/Oct/23  Resolved: 24/May/22

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

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

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-05-02, Server Serverless 2022-05-16, Server Serverless 2022-05-30
Participants:

 Description   

Some agg stages ($lookup, $graphLookup, $merge, $out, $unionWith) operate across collections or databases. When constructing the NamespaceString objects for these stages, the tenantId for the agg command should be included so the stage is scoped to the appropriate tenant's collection (agg requests can't be run across tenants).



 Comments   
Comment by Githook User [ 24/May/22 ]

Author:

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

Message: SERVER-66024 Include tenantId when constructing namespaces for agg stages
Branch: master
https://github.com/mongodb/mongo/commit/cbf325db8359793c2aed26b6e8f86cf68dc7667d

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