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

Allow internal db in AP request to be parsed without tenant prefix

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Server Serverless 2023-10-02
    • 1

      The "renameCollection" command runs on "admin" db and has tenant prefix in its "from" collection and "to" collection.

      To simulate an Atlas Proxy request, we need to add security token and "expectPrefix:true" to its request body. To support such an AP request in mongod, we should also allow the specific global dbs (eg, "$db: admin",  "$db:config" and "$db:local") to be parsed without tenant prefix while the command request has security token and "expectPrefix:true". 

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: