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

Use expectPrefix in the tenant aware response checker

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Server Serverless 2023-08-07, Server Serverless 2023-08-21
    • 2

      tenant_aware_response_checker.js currently does not determine the response result according to the expectPrefix field used in the request, which affects the command response following SERVER-74284.  We need to update the lib (used by inject_dollar_tenant and inject_security_token) to properly key on expectPrefix in order to determine whether or not the response output is correct (ie. contains or is absent of a prefixed tenantId).

      As SERVER-70547 depends on these overrides interacting with the inject_tenant_prefix override, we might also want to make sure these overrides are able to inject the `expectPrefix` field as needed as well.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: