[SERVER-61983] Create TenantNamespace class Created: 10/Dec/21  Updated: 29/Oct/23  Resolved: 20/Dec/21

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

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-61984 Create TenantDatabase class Closed
related to SERVER-64606 Remove TenantNamespace class Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2021-12-27
Participants:

 Description   

This class should contain a NamespaceString and a tenantID. The tenantID should be optional, and should only be required if the server parameter multitenancySupport is enabled and the feature flag featureFlagRequireTenantID is on. The string representation of this type should be tenantID_dbName.collName as it is today.

When constructing a TenantNamespace from a string, if multitenancySupport is enabled the tenantID should be parsed separately from the db name. If it is not enabled, it will be parsed as a part of the db name (and the tenantID will be empty).



 Comments   
Comment by Githook User [ 20/Dec/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-61983 Create TenantNamespace class
Branch: master
https://github.com/mongodb/mongo/commit/b53fc88485f274d9b20cc93b53058f77d8859d93

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