Pass tenantId from NamespaceString into IDLParserContext when parsing Find and Pipeline commands

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-09-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Janna Golden
            Reporter:
            Fernando Lisboa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: