[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: |