[SERVER-78534] Only allow specific global collections to be created without a tenantId Created: 28/Jun/23  Updated: 30/Oct/23  Resolved: 16/Oct/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: Hugh Tong (Inactive)
Resolution: Won't Fix 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-74907 Use tassert in NamespaceStringUtil fu... Closed
Gantt Dependency
has to be done after SERVER-73113 Allow only specific global dbs to be ... Closed
Related
related to SERVER-82247 Complete TODO listed in SERVER-78534 Closed
Assigned Teams:
Serverless
Sprint: Service Arch 2023-10-16, Service Arch 2023-10-30, Server Serverless 2023-08-21, Server Serverless 2023-10-02
Participants:
Story Points: 3

 Description   

Only the admin, local, and config databases should be allowed to be created without a tenantId in DatabaseNameUtil::deserialize. This is covered by SERVER-73113.

Then, in NamespaceStringUtil::deserialize, we should allow only certain collections in one of the admin, local, or config dbs to be created without a tenantId, as some collections in these dbs are actually per-tenant.



 Comments   
Comment by Githook User [ 30/Oct/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-82247 Complete TODO listed in SERVER-78534
Branch: master
https://github.com/mongodb/mongo/commit/22028c5f36e1b4ef7a319cc18043d2def6e13585

Comment by Hugh Tong (Inactive) [ 16/Oct/23 ]

As per previous comment, the premise behind this ticket is incorrect.

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