Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68721

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

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

      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@mongodb.com Janna Golden
            Reporter:
            fernando.lisboa@mongodb.com Fernando Lisboa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: