[SERVER-81227] Allow internal db in AP request to be parsed without tenant prefix Created: 19/Sep/23  Updated: 29/Sep/23  Resolved: 25/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Duplicate Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-79909 Add multitenant support to setQuerySe... Closed
Duplicate
is duplicated by SERVER-70547 Create multitenancySupport passthroug... Closed
is duplicated by SERVER-81547 Don't require tenant prefixes when ac... Closed
Assigned Teams:
Serverless
Sprint: Server Serverless 2023-10-02
Participants:
Story Points: 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". 


Generated at Thu Feb 08 06:45:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.