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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Serverless
    • Server Serverless 2023-10-02
    • 1

    Description

      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". 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: