[SERVER-61984] Create TenantDatabase class Created: 10/Dec/21  Updated: 29/Oct/23  Resolved: 07/Jan/22

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: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-61987 Change DatabaseHolder's map to be key... Closed
is depended on by SERVER-61988 Change CollectionCatalog maps that ar... Closed
Related
is related to SERVER-61983 Create TenantNamespace class Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2021-12-27, Server Serverless 2022-01-10
Participants:

 Description   

This class should contain a tenantID and a database name. 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.

When constructing a TenantDatabase 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 [ 07/Jan/22 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-61984 create TenantDatabaseName class
Branch: master
https://github.com/mongodb/mongo/commit/4e3bfb2525e12f73fce640e925b8975c802453ee

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