-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Server Serverless 2022-05-02, Server Serverless 2022-05-16, Server Serverless 2022-05-30
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).