[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: |
|
||||||||||||||||||||||||
| 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: |
| Comment by Hugh Tong (Inactive) [ 16/Oct/23 ] |
|
As per previous comment, the premise behind this ticket is incorrect. |