[SERVER-67442] Change CollectionCatalog::addResource and CollectionCatalog::removeResource to take in DatabaseName or NamespaceString obj Created: 22/Jun/22  Updated: 06/Dec/22  Resolved: 01/Aug/22

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

Type: Task Priority: Major - P3
Reporter: Janna Golden 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-67994 Change ResourceId constructors to tak... Closed
Assigned Teams:
Serverless
Participants:

 Description   

Currently these functions take in a string representing either a full collection namespace or database name. It's necessary that we store the full string that includes the tenantId when running in Serverless. In order to avoid confusion or future bugs, we should expose methods that take in a NamespaceString or DatabaseName directly, and then convert these to a string that contains the tenantId within the function - this will mitigate the risk of dropping the tenantId.


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