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

Add tests for aggregation stages that have a nss field as input or ouput

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Server Serverless 2022-12-12, Server Serverless 2022-12-26, Server Serverless 2023-01-09
    • 46
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Add tests to native_tenant_data_isolation_basic_security_token.js to test the following agg stages work correctly when sent with a security token.

      The following agg stages take either a nss or db name as an input field:

      • $graphLookup
      • $lookup
      • $merge
      • $out
      • $unionWith

      The above should all correctly construct NamespaceString/DatabaseName objects with a tenantId already.

      The following agg stages include a nss or db name as output:

      • $collStats
        • We'll need to change the serialization points here and here to call NamespaceStringUtil::serialize.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: