[SERVER-73025] Assert a tenantId always exists on a non-global NamespaceString or DatabaseName Created: 18/Jan/23  Updated: 22/Jun/23  Resolved: 01/Mar/23

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

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

Issue Links:
Duplicate
duplicates SERVER-73113 Allow only specific global dbs to be ... Closed
Related
related to SERVER-74508 Complete TODO listed in SERVER-73025 Closed
Assigned Teams:
Serverless
Participants:

 Description   

Our DatabaseNameUtil and NamespaceStringUtil serializers and deserializers act as the gatekeepers to ensure our DatabaseName and NamespaceString are correctly populated with the tenantId downstream, with the exception of global namespaces. However, we do still have tests that trigger the assertions in our util functions that we need to fix.

Since these are only some of the suggested locations, a full evergreen suite is recommended to weed out any additional offenders.



 Comments   
Comment by Githook User [ 22/Jun/23 ]

Author:

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

Message: SERVER-74508 Complete TODO listed in SERVER-73025
Branch: master
https://github.com/mongodb/mongo/commit/59964a7211c92746aeff8f3e61ef30e39235efc2

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