[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: |
|
||||||||||||||||||||||||
| 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 |
| Comments |
| Comment by Githook User [ 01/Sep/22 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |