[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: |
|
||||||||
| 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. |